Completed
Branch master (bf1890)
by Karsten
04:09 queued 02:08
created
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.
src/Enumerated.php 2 patches
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.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
     /**
111
-     * @return string[]
111
+     * @return integer[]
112 112
      */
113 113
     final public static function enumerateValues()
114 114
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @return array|Enumerated[]
119
+     * @return string[]
120 120
      */
121 121
     private static function enumerateProps()
122 122
     {
Please login to merge, or discard this patch.