| Total Complexity | 2 | 
| Total Lines | 39 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 10 | class ServiceTest extends TestCase  | 
            ||
| 11 | { | 
            ||
| 12 | /**  | 
            ||
| 13 | * @var GraphQLService  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $service;  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * @var Repository  | 
            ||
| 19 | */  | 
            ||
| 20 | protected $cache;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * @var Processor  | 
            ||
| 24 | */  | 
            ||
| 25 | protected $processor;  | 
            ||
| 26 | |||
| 27 | /**  | 
            ||
| 28 | * @inheritdoc  | 
            ||
| 29 | */  | 
            ||
| 30 | public function setUp()  | 
            ||
| 31 |     { | 
            ||
| 32 | $this->cache = $this->getMockBuilder(\Illuminate\Cache\Repository::class)  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 33 | ->disableOriginalConstructor()  | 
            ||
| 34 | ->getMock();  | 
            ||
| 35 | |||
| 36 | $this->processor = new Processor(new Schema());  | 
            ||
| 37 | $this->service = new GraphQLService($this->processor, $this->cache);  | 
            ||
| 38 | }  | 
            ||
| 39 | |||
| 40 | |||
| 41 | public function testGetProcessor()  | 
            ||
| 49 | }  | 
            ||
| 50 | |||
| 52 | 
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..