Skip to content

Commit

Permalink
Merge pull request #173 from GrahamCampbell/var
Browse files Browse the repository at this point in the history
Change `@type` back to `@var`
  • Loading branch information
scottrobertson committed Jul 31, 2014
2 parents 13decb1 + 0246919 commit 69a4aca
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/Exception/DeleteMethodNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DeleteMethodNotFoundException extends MethodNotFoundException
/**
* The model instance.
*
* @type object
* @var object
*/
private $object;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/DeletingFailedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DeletingFailedException extends Exception
/**
* The array of exceptions.
*
* @type \Exception[]
* @var \Exception[]
*/
private $exceptions;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/DirectoryNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DirectoryNotFoundException extends Exception
/**
* The path.
*
* @type string
* @var string
*/
private $path;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/MethodNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MethodNotFoundException extends ModelException
/**
* The method.
*
* @type string
* @var string
*/
private $method;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/ModelException.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ModelException extends Exception
/**
* The model.
*
* @type string
* @var string
*/
private $model;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/SaveFailedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SaveFailedException extends ModelException
/**
* The errors.
*
* @type string
* @var string
*/
private $errors;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/SaveMethodNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SaveMethodNotFoundException extends MethodNotFoundException
/**
* The model instance.
*
* @type object
* @var object
*/
private $object;

Expand Down
2 changes: 1 addition & 1 deletion src/Facade/FactoryMuffin.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class FactoryMuffin
/**
* The underline FactoryMuffin instance.
*
* @type \League\FactoryMuffin\FactoryMuffin
* @var \League\FactoryMuffin\FactoryMuffin
*/
private static $fmInstance;

Expand Down
8 changes: 4 additions & 4 deletions src/FactoryMuffin.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,28 @@ class FactoryMuffin
/**
* The array of factories.
*
* @type array
* @var array
*/
private $factories = array();

/**
* The array of objects we have created.
*
* @type array
* @var array
*/
private $saved = array();

/**
* This is the method used when saving objects.
*
* @type string
* @var string
*/
private $saveMethod = 'save';

/**
* This is the method used when deleting objects.
*
* @type string
* @var string
*/
private $deleteMethod = 'delete';

Expand Down
8 changes: 4 additions & 4 deletions src/Kind.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ abstract class Kind
/**
* The Kind classes that are available.
*
* @type string[]
* @var string[]
*/
protected static $availableKinds = array(
'call',
Expand All @@ -30,21 +30,21 @@ abstract class Kind
/**
* The kind of attribute that will be generated.
*
* @type string
* @var string
*/
protected $kind;

/**
* The model instance.
*
* @type object
* @var object
*/
protected $object;

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

Expand Down
4 changes: 2 additions & 2 deletions src/Kind/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ class Factory extends Kind
/**
* Generate, and return the attribute.
*
* @type string[]
* @var string[]
*/
private $methods = array('getKey', 'pk');

/**
* The factory properties.
*
* @type string[]
* @var string[]
*/
private $properties = array('id', '_id');

Expand Down

0 comments on commit 69a4aca

Please sign in to comment.