Skip to content

Commit

Permalink
Adding phpDoc to findFirstById
Browse files Browse the repository at this point in the history
  • Loading branch information
magroski committed Sep 21, 2017
1 parent 82d06af commit 9f4a74c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
class Model extends PhalconModel
{

/** @return static */
public static function findFirstById($id)
{
return parent::findFirstById($id);
}

public function columnMap()
{
$columnMap = [];
Expand Down Expand Up @@ -72,4 +78,4 @@ private function getNumeration($slug)
return $slug;
}

}
}

0 comments on commit 9f4a74c

Please sign in to comment.