mscherer 6 years ago
parent
commit
e33096ef70

+ 0 - 4
phpunit.xml.dist

@@ -22,10 +22,6 @@
 	<filter>
 		<whitelist>
 			<directory suffix=".php">src/</directory>
-			<exclude>
-				<file>src/Utility/Set.php</file>
-				<file>src/Utility/Multibyte.php</file>
-			</exclude>
 		</whitelist>
 		<blacklist>
 			<directory suffix=".ctp">src/Template/</directory>

+ 1 - 1
src/Model/Behavior/JsonableBehavior.php

@@ -212,7 +212,7 @@ class JsonableBehavior extends Behavior {
 	 * Fields are absolutely necessary to function properly!
 	 *
 	 * @param string|array|null $val
-	 * @return array|null|false
+	 * @return array|false|null
 	 */
 	public function _decode($val) {
 		if (!is_string($val)) {

+ 15 - 0
src/Utility/Number.php

@@ -18,14 +18,29 @@ class Number extends CakeNumber {
 	 */
 	protected static $_currencies = [];
 
+	/**
+	 * @var string
+	 */
 	protected static $_currency = 'EUR';
 
+	/**
+	 * @var string
+	 */
 	protected static $_symbolRight = '€';
 
+	/**
+	 * @var string
+	 */
 	protected static $_symbolLeft = '';
 
+	/**
+	 * @var string
+	 */
 	protected static $_decimals = ',';
 
+	/**
+	 * @var string
+	 */
 	protected static $_thousands = '.';
 
 	/**

+ 1 - 1
src/Utility/Random.php

@@ -59,7 +59,7 @@ class Random {
 	 * @param int|null $min
 	 * @param int|null $max
 	 * @param bool|null $formatReturn
-	 * @return int|null|string
+	 * @return int|string|null
 	 */
 	public static function date($min = null, $max = null, $formatReturn = null) {
 		if ($min === null && $max === null) {

+ 1 - 1
src/View/Helper/TimelineHelper.php

@@ -103,7 +103,7 @@ class TimelineHelper extends Helper {
 	 * @param bool $return If the output should be returned instead
 	 * @param array $scriptOptions
 	 *
-	 * @return null|string Javascript if $return is true
+	 * @return string|null Javascript if $return is true
 	 */
 	public function finalize($return = false, array $scriptOptions = []) {
 		$settings = $this->getConfig();