| 1 | <?php | ||
| 8 | class IdentifyModule | ||
| 9 | { | ||
| 10 | /** | ||
| 11 | * @var Caffeinated\Modules | ||
| 12 | */ | ||
| 13 | protected $module; | ||
| 14 | |||
| 15 | /** | ||
| 16 | * Create a new IdentifyModule instance. | ||
| 17 | * | ||
| 18 | * @param Caffeinated\Modules $module | ||
| 19 | */ | ||
| 20 | public function __construct(Modules $module) | ||
| 24 | |||
| 25 | /** | ||
| 26 | * Handle an incoming request. | ||
| 27 | * | ||
| 28 | * @param \Illuminate\Http\Request $request | ||
| 29 | * @param \Closure $next | ||
| 30 | * | ||
| 31 | * @return mixed | ||
| 32 | */ | ||
| 33 | public function handle($request, Closure $next, $slug) | ||
| 39 | } | ||
| 40 | 
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..