Passed
Push — master ( 796371...61ca61 )
by Andrey
03:07
created
src/Traits/InternetDocumentProperty.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,10 +193,10 @@
 block discarded – undo
193 193
      */
194 194
     public function setBackwardDeliveryData($RedeliveryString, ?string $PayerType = null, ?string $CargoType = null): void
195 195
     {
196
-        if (! $PayerType) {
196
+        if (!$PayerType) {
197 197
             $PayerType = config('novaposhta.back_delivery_payer_type');
198 198
         }
199
-        if (! $CargoType) {
199
+        if (!$CargoType) {
200 200
             $CargoType = config('novaposhta.back_delivery_cargo_type');
201 201
         }
202 202
         $this->BackwardDeliveryData = [
Please login to merge, or discard this patch.
src/Traits/CounterpartyProperty.php 1 patch
Spacing   +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
     public function getCounterpartyType(): void
52 52
     {
53
-        if (! $this->counterpartyType) {
53
+        if (!$this->counterpartyType) {
54 54
             $this->counterpartyType = 'PrivatePerson';
55 55
         }
56 56
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             return;
69 69
         }
70 70
 
71
-        if (! $this->counterpartyProperty) {
71
+        if (!$this->counterpartyProperty) {
72 72
             $this->counterpartyProperty = 'Recipient';
73 73
         }
74 74
 
Please login to merge, or discard this patch.
src/Traits/OptionsSeatProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function getOptionsSeat(): void
39 39
     {
40
-        if (! $this->OptionsSeat) {
40
+        if (!$this->OptionsSeat) {
41 41
             $defaultSeat = [
42 42
                 'volumetricVolume' => '1',
43 43
                 'volumetricWidth' => '24',
Please login to merge, or discard this patch.
src/Traits/DateTimes.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function getDateTime(): void
48 48
     {
49
-        if ($this->dateTime && (! $this->dateTimeFrom || ! $this->dateTimeTo)) {
49
+        if ($this->dateTime && (!$this->dateTimeFrom || !$this->dateTimeTo)) {
50 50
             $this->methodProperties['DateTime'] = $this->dateTime;
51 51
         }
52 52
 
53
-        if (! $this->dateTime) {
53
+        if (!$this->dateTime) {
54 54
             $this->dateTime = Carbon::now()->format($this->format);
55 55
             $this->methodProperties['DateTime'] = $this->dateTime;
56 56
         }
@@ -62,10 +62,10 @@  discard block
 block discarded – undo
62 62
     public function getDateTimeFromTo(): void
63 63
     {
64 64
         if ($this->dateTimeFrom || $this->dateTimeTo) {
65
-            if (! $this->dateTimeTo) {
65
+            if (!$this->dateTimeTo) {
66 66
                 $this->dateTimeTo = Carbon::now()->format($this->format);
67 67
             }
68
-            if (! $this->dateTimeFrom) {
68
+            if (!$this->dateTimeFrom) {
69 69
                 $this->dateTimeFrom = $this->dateTimeTo;
70 70
             }
71 71
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function checkDate($date, ?string $format = null): string
109 109
     {
110
-        if(! $format) {
110
+        if (!$format) {
111 111
             $format = $this->format;
112 112
         }
113 113
 
Please login to merge, or discard this patch.