diff --git a/Account/Account.php b/Account/Account.php index 4c106ac61..0e6b88f38 100644 --- a/Account/Account.php +++ b/Account/Account.php @@ -318,7 +318,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function hasPermission(int $permission, ?int $unit = null, ?string $app = null, ?string $module = null, ?int $type = null, ?int $element = null, ?int $component = null) : bool + public function hasPermission(int $permission, int $unit = null, string $app = null, string $module = null, int $type = null, int $element = null, int $component = null) : bool { $app = $app !== null ? strtolower($app) : $app; diff --git a/Business/Marketing/NetPromoterScore.php b/Business/Marketing/NetPromoterScore.php index ec589cc8b..6cdf180b3 100644 --- a/Business/Marketing/NetPromoterScore.php +++ b/Business/Marketing/NetPromoterScore.php @@ -35,16 +35,6 @@ class NetPromoterScore */ private $scores = []; - /** - * Constructor. - * - * @since 1.0.0 - */ - public function __construct() - { - - } - /** * Add score. * diff --git a/Log/LoggerInterface.php b/Log/LoggerInterface.php index fc331da3a..a7cdd8ed0 100644 --- a/Log/LoggerInterface.php +++ b/Log/LoggerInterface.php @@ -31,7 +31,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function emergency(string $message, array $context = []) : void; @@ -44,7 +44,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function alert(string $message, array $context = []) : void; @@ -56,7 +56,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function critical(string $message, array $context = []) : void; @@ -67,7 +67,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function error(string $message, array $context = []) : void; @@ -80,7 +80,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function warning(string $message, array $context = []) : void; @@ -90,7 +90,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function notice(string $message, array $context = []) : void; @@ -102,7 +102,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function info(string $message, array $context = []) : void; @@ -112,7 +112,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function debug(string $message, array $context = []) : void; @@ -123,7 +123,7 @@ interface LoggerInterface * @param string $message Logging message schema * @param array $context Context to log * - * @return null + * @return void */ public function log(string $level, string $message, array $context = []) : void; }