mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Return type added
This commit is contained in:
parent
5e08eae160
commit
0c3e2e98de
|
|
@ -64,7 +64,7 @@ class Autoloader
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public static function exists(string $class)
|
||||
public static function exists(string $class) : bool
|
||||
{
|
||||
$class = ltrim($class, '\\');
|
||||
$class = str_replace(['_', '\\'], '/', $class);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user