Completed
Push — master ( 9319b2...6e3892 )
by Václav
02:17
created
src/Utils/Strings.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         }
45 45
 
46 46
         /**
47
-         * @param $identifier
47
+         * @param string $identifier
48 48
          * @param $locale
49 49
          * @param null $formatArgs
50 50
          * @return string
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
                 $locale = Config::getConfigField("locale");
28 28
             }
29 29
 
30
-            $localePath = FinanCalc::getPath() . "/locale/$locale.php";
30
+            $localePath = FinanCalc::getPath()."/locale/$locale.php";
31 31
 
32 32
             if (!file_exists($localePath)) {
33 33
                 return null;
Please login to merge, or discard this patch.
src/Utils/Time/TimeSpan.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -199,10 +199,10 @@
 block discarded – undo
199 199
         private function newDateIntervalAbsolute($years, $months, $days) {
200 200
             $this->setdateInterval(
201 201
                 new DateInterval(
202
-                    "P" .
203
-                    (string)$years . "Y" .
204
-                    (string)$months . "M" .
205
-                    (string)$days . "D"
202
+                    "P".
203
+                    (string)$years."Y".
204
+                    (string)$months."M".
205
+                    (string)$days."D"
206 206
                 )
207 207
             );
208 208
         }
Please login to merge, or discard this patch.
src/init/autoloader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
     $relative_class_path = implode("/", $exploded_class);
13 13
 
14 14
     $absolute_class_path =
15
-        dirname(dirname(__FILE__)) .
16
-        '/' .
17
-        $relative_class_path .
15
+        dirname(dirname(__FILE__)).
16
+        '/'.
17
+        $relative_class_path.
18 18
         '.php';
19 19
 
20 20
     if (file_exists($absolute_class_path)) {
Please login to merge, or discard this patch.
src/Constants/ErrorMessages.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         }
51 51
 
52 52
         /**
53
-         * @param $configField [Name of the expected value as a string]
53
+         * @param string $configField [Name of the expected value as a string]
54 54
          * @return string      [Concatenated message as a string]
55 55
          */
56 56
         static function getConfigFieldNotFoundMessage($configField) {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         }
63 63
 
64 64
         /**
65
-         * @param $propertyName [Name of the property as a string]
65
+         * @param string $propertyName [Name of the property as a string]
66 66
          * @param string $className    [Name of the class as a string]
67 67
          * @return string       [Concatenated message as a string]
68 68
          */
Please login to merge, or discard this patch.