Completed
Branch master (35c053)
by Karsten
02:10
created
src/Enumerated.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @return string[]
112
+     * @return integer[]
113 113
      */
114 114
     public static function enumerateValues()
115 115
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @return static[]
120
+     * @return string[]
121 121
      */
122 122
     protected static function enumerateProps()
123 123
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
         // take care of the called class
97 97
         $cls = get_called_class();
98 98
 
99
-        if (! isset($invalid[$cls][$value])) {
99
+        if (!isset($invalid[$cls][$value])) {
100 100
 
101 101
             $inst        = new static();
102 102
             $inst->value = $value;
Please login to merge, or discard this patch.
src/LocalDate.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function __construct($input, $timezone)
59 59
     {
60
-        if (! $timezone instanceof \DateTimeZone) {
60
+        if (!$timezone instanceof \DateTimeZone) {
61 61
             $timezone = new \DateTimeZone((string) $timezone);
62 62
         }
63 63
 
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      *
200 200
      * @return LocalDate
201 201
      */
202
-    public function getDstStartOfDayPlusHours ($hours)
202
+    public function getDstStartOfDayPlusHours($hours)
203 203
     {
204 204
         $startOfDay = $this->getStartOfDay();
205 205
         $startOfDayOffset = $startOfDay->getOffset();
@@ -433,9 +433,9 @@  discard block
 block discarded – undo
433 433
         // This is a work-around for the day-light-saving shift days
434 434
         // If we would use minutesIntoDay and then add those to startOfDay, we loose one hour.
435 435
         // Example would be '2015-03-29 11:20' with tz 'Europe/Berlin' would result in '2015-03-29 10:00'
436
-        $minutesIntoDay = ((int)$this->date->format('H') * 60) + ((int)$this->date->format('i'));
436
+        $minutesIntoDay = ((int) $this->date->format('H') * 60) + ((int) $this->date->format('i'));
437 437
         // cut off partial intervals
438
-        $corrected = ((int)($minutesIntoDay / $minutesInterval)) * $minutesInterval;
438
+        $corrected = ((int) ($minutesIntoDay / $minutesInterval)) * $minutesInterval;
439 439
 
440 440
         return $this->getStartOfDay()->modifyByMinutes($corrected);
441 441
     }
Please login to merge, or discard this patch.