Details
-
Bug
-
Resolution: Fixed
-
High
-
5.2-alpha1
-
None
Description
Simple logic error, || instead of && :
if ( !is_string( $templateIdentifier ) || !$templateIdentifier instanceof \Closure ) throw new InvalidArgumentType( 'templateIdentifier', 'string or \Closure', $templateIdentifier );