Skip to content

Commit 990f536

Browse files
author
Wim Wisselink
committed
Minor bug fix in the keys() function on a project.
1 parent 3359120 commit 990f536

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)