From 67ad863a56f6f3aed7336bffffa38196bb5d583a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 14 Dec 2016 21:26:17 +0100 Subject: [PATCH] Php 7.1. fixes --- Autoloader.php | 2 +- Datatypes/Enum.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Autoloader.php b/Autoloader.php index 6dd2498b6..3cd600847 100644 --- a/Autoloader.php +++ b/Autoloader.php @@ -44,7 +44,7 @@ class Autoloader * @since 1.0.0 * @author Dennis Eichhorn */ - public static function default_autoloader(string $class) + public static function default_autoloader(string $class) /* : void */ { $class = ltrim($class, '\\'); $class = str_replace(['_', '\\'], '/', $class); diff --git a/Datatypes/Enum.php b/Datatypes/Enum.php index 62830bb8a..20fc8833b 100644 --- a/Datatypes/Enum.php +++ b/Datatypes/Enum.php @@ -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) *