1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-08 17:42:56 +02:00

Add the type of the parameter of the Base::__construct method

This commit is contained in:
Benjamin Grandfond 2012-12-10 17:30:54 +01:00
parent d44f1340d9
commit 5a153a9b58

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;
}