Php 7.1. fixes

This commit is contained in:
Dennis Eichhorn 2016-12-14 21:26:17 +01:00
parent 441968f2fc
commit 67ad863a56
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class Autoloader
* @since 1.0.0
* @author Dennis Eichhorn <d.eichhorn@oms.com>
*/
public static function default_autoloader(string $class)
public static function default_autoloader(string $class) /* : void */
{
$class = ltrim($class, '\\');
$class = str_replace(['_', '\\'], '/', $class);

View File

@ -124,7 +124,7 @@ abstract class Enum
/**
* Checking enum name.
*
* Checking if a certain /* public */ const name exists (case sensitive)
* Checking if a certain const name exists (case sensitive)
*
* @param string $name Name of the value (case sensitive)
*