projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
refactored 80%
[pharext/pharext.org]
/
app
/
Github
/
API
/
Hooks
/
HooksCallback.php
diff --git
a/app/Github/API/Hooks/HooksCallback.php
b/app/Github/API/Hooks/HooksCallback.php
index f5208444dd5cebe20af2a7067757945edde1e21a..76b1b6e6451ee4696edc79d5830c2fe50a3d61f3 100644
(file)
--- a/
app/Github/API/Hooks/HooksCallback.php
+++ b/
app/Github/API/Hooks/HooksCallback.php
@@
-14,7
+14,7
@@
class HooksCallback extends Callback
$this->repo = $repo;
}
- function
__invoke
($json, $links = null) {
- $this->repo->hooks = $json;
+ function
exec
($json, $links = null) {
+
return
$this->repo->hooks = $json;
}
}