Skip to content

Commit

Permalink
Merge pull request #244 from GrahamCampbell/fixes
Browse files Browse the repository at this point in the history
A Few Fixes
  • Loading branch information
GrahamCampbell committed Aug 7, 2014
2 parents 66af62a + 8311fc5 commit 9e630a4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.idea
/vendor
composer.lock
phpunit.xml
2 changes: 1 addition & 1 deletion src/Generators/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function __construct($kind, $object = null, $faker = null)
* @param object|null $object The model instance.
* @param \Faker\Generator|null $faker The faker instance.
*
* @return \League\FactoryMuffin\Generator
* @return \League\FactoryMuffin\Generators\Base
*/
public static function detect($kind, $object = null, $faker = null)
{
Expand Down
2 changes: 2 additions & 0 deletions src/Generators/Call.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public function generate()
* @param string $method
* @param array $args
*
* @throws \League\FactoryMuffin\Exceptions\MethodNotFoundException
*
* @return mixed
*/
private function execute($method, $args)
Expand Down
2 changes: 1 addition & 1 deletion src/Generators/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function generate()
*
* @param object $object The model instance.
*
* @return int
* @return int|null
*/
private function getId($object)
{
Expand Down

0 comments on commit 9e630a4

Please sign in to comment.