Skip to content

Commit

Permalink
Merge pull request #145 from GrahamCampbell/fixes
Browse files Browse the repository at this point in the history
Docblock Fixes
  • Loading branch information
scottrobertson committed Jul 29, 2014
2 parents c27c42c + b862776 commit 6b9092b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/Exception/DeleteMethodNotFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class DeleteMethodNotFound extends MethodNotFound
/**
* Create a new instance.
*
* @param string $model
* @param string $object
* @param string $method
* @param string $message
*
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/SaveMethodNotFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class SaveMethodNotFound extends MethodNotFound
/**
* Create a new instance.
*
* @param string $model
* @param string $object
* @param string $method
* @param string $message
*
Expand Down
2 changes: 1 addition & 1 deletion src/FactoryMuffin.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public function define($model, array $definition = array())
*
* This method will return a string, or an instance of the model.
*
* @param string $kind The kind of attribute that will be generate.
* @param string $kind The kind of attribute that will be generated.
* @param string $model The name of the model class.
* @param bool $save Are we saving an object, or just creating an instance?
*
Expand Down
26 changes: 13 additions & 13 deletions src/Kind.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ abstract class Kind
);

/**
* Holds the Kind we are working on.
* The kind of attribute that will be generated.
*
* @type \League\FactoryMuffin\Kind
* @type string
*/
protected $kind;

/**
* Holds the model data.
* The name of the model class.
*
* @type array
* @type string
*/
protected $model;

/**
* Holds the faker factory.
* The faker factory or generator instance.
*
* @type \Faker\Factory
* @type \Faker\Factory|\Faker\Generator
*/
protected $faker;

Expand All @@ -63,10 +63,10 @@ abstract class Kind
/**
* Initialise our Kind.
*
* @param $kind
* @param $model
* @param $faker
* @param $save Have we saved the parent object, or just created an instance?
* @param string $kind The kind of attribute that will be generated.
* @param string $model The name of the model class.
* @param \Faker\Factory|\Faker\Generator $faker The faker factory or generator instance.
* @param bool $save Have we saved the parent object?
*/
public function __construct($kind, $model, $faker, $save = false)
{
Expand All @@ -79,9 +79,9 @@ public function __construct($kind, $model, $faker, $save = false)
/**
* Detect the type of Kind we are processing.
*
* @param mixed $kind
* @param array $model
* @param bool $save
* @param string $kind The kind of attribute that will be generated.
* @param string $model The name of the model class.
* @param bool $save Have we saved the parent object?
*
* @return \League\FactoryMuffin\Kind
*/
Expand Down

0 comments on commit 6b9092b

Please sign in to comment.