Skip to content

Commit c01826e

Browse files
committed
Merge pull request #123 from Visualq/master
Minor bug fix in the keys() function on a project.
2 parents 3359120 + 990f536 commit c01826e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Model/Project.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public function keys()
286286

287287
$keys = array();
288288
foreach ($data as $key) {
289-
$hooks[] = Key::fromArray($this->getClient(), $key);
289+
$keys[] = Key::fromArray($this->getClient(), $key);
290290
}
291291

292292
return $keys;

0 commit comments

Comments
 (0)