Passed
Branch 2.0.x (345a4a)
by Abdullah
02:30
created
src/config/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,6 +3,6 @@
 block discarded – undo
3 3
 return [
4 4
     'DEFAULT_TIME_ZONE' => 'GMT', //GMT or UTC
5 5
     'TIME_DIFF_SYMBOL' => '.', //+00.00
6
-    'LABEL_FIELD_NAME' => 'label' ,
6
+    'LABEL_FIELD_NAME' => 'label',
7 7
     'VALUE_FIELD_NAME' => 'value'
8 8
 ];
Please login to merge, or discard this patch.
src/Contract/TimeZoneManager.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
      */
18 18
     public function getSupportedTimeZone(): array;
19 19
 
20
-     /**
21
-     * List all time zones with labels and values.
22
-     *
23
-     * @return array
24
-     */
20
+        /**
21
+         * List all time zones with labels and values.
22
+         *
23
+         * @return array
24
+         */
25 25
     public function list(): array;
26 26
 
27 27
     /**
Please login to merge, or discard this patch.
src/Service/TimeZoneService.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -142,9 +142,9 @@  discard block
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-    * @param $time
146
-    * @return string
147
-    */
145
+     * @param $time
146
+     * @return string
147
+     */
148 148
     private function getZone(string $time): string
149 149
     {
150 150
         return str_replace('_', ' ', $time->format('e'));
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      * @param bool $isLabel
156 156
      * @param bool $isValue
157 157
      * @return array
158
-    */
158
+     */
159 159
     private function getTimeZoneList(array $timezones, string $type = 'list'): array
160 160
     {
161 161
         $label = Config::get('Timezone.LABEL_FIELD_NAME', 'label');
Please login to merge, or discard this patch.
src/PhpTimeZoneServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 namespace Joy2362\PhpTimezone;
4 4
 
5 5
 use Illuminate\Support\ServiceProvider;
6
-use Joy2362\PhpTimezone\{Contract\TimeZoneManager,Service\TimeZoneService};
6
+use Joy2362\PhpTimezone\{Contract\TimeZoneManager, Service\TimeZoneService};
7 7
 
8 8
 class PhpTimeZoneServiceProvider extends ServiceProvider
9 9
 {
Please login to merge, or discard this patch.