projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix saveToCache() usage; move hook controllers around
[pharext/pharext.org]
/
app
/
Controller
/
Github.php
diff --git
a/app/Controller/Github.php
b/app/Controller/Github.php
index 5933fcd2ffc12aee7ccf5ef74a79daaea9e6e3dd..0c38bd7721cb3daf40f36e65ac8dbcf9a389e271 100644
(file)
--- a/
app/Controller/Github.php
+++ b/
app/Controller/Github.php
@@
-58,7
+58,7
@@
abstract class Github implements Controller
if ($repo->hooks) {
foreach ($repo->hooks as $hook) {
if ($hook->name === "web" && $hook->config->url === $this->github->getConfig()->hook->url) {
- return $hook
->id
;
+ return $hook;
}
}
}