1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-23 00:39:47 +01:00

Merge pull request #92 from benja-M-1/patch-2

Add the type of the parameter of the Base::__construct method
This commit is contained in:
Francois Zaninotto 2012-12-10 08:45:35 -08:00
commit f247cbf4bb

View File

@ -2,11 +2,19 @@
namespace Faker\Provider;
use Faker\Generator;
class Base
{
/**
* @var \Faker\Generator
*/
protected $generator;
public function __construct($generator)
/**
* @param \Faker\Generator $generator
*/
public function __construct(Generator $generator)
{
$this->generator = $generator;
}