Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 150
Zeile 155... Zeile 155...
155
	/**
155
	/**
156
	 * Checks whether PHP callback is function or static method.
156
	 * Checks whether PHP callback is function or static method.
157
	 */
157
	 */
158
	public static function isStatic(callable $callable): bool
158
	public static function isStatic(callable $callable): bool
159
	{
159
	{
160
		return is_array($callable) ? is_string($callable[0]) : is_string($callable);
160
		return is_string(is_array($callable) ? $callable[0] : $callable);
161
	}
161
	}
Zeile 162... Zeile 162...
162
 
162
 
163
 
163