Skip to content

v12.53.0

@RyanSchaefer RyanSchaefer tagged this 23 Feb 15:43
* Fix Invalid Types

Fix Invalid Types

Fixes invalid types.

##Summary of changes

### PendingBatch.php
235 - Closures cannot act as bounds. Seems like this was just a result of the type being long. Used a type alias instead.

### Dispatcher.php
239 - parens are required for parsing
560 - input is a class string, we cannot assert that the class string is an instance of class, instead we can assert its a class string of the class
819 - Type was resolved to callable|null, it seems the callable should return type|null instead.

### BladeCompiler.php
977+983 - not all callables support bindTo, only Closures do

* Update BladeCompiler.php

fix for native type change

* remove redundant type

some other static analysis system was triggering on this but its a bug with that system
Assets 2
Loading