Completed
Push — master ( 433a3a...426398 )
by Nikita
10:06
created
src/Util/Helper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Util;
5 5
 
@@ -20,14 +20,14 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public static function buildMessages(array $messages, string $keyBy = null): array
22 22
     {
23
-        $values = array_map(function (MessageInterface $message) {
23
+        $values = array_map(function(MessageInterface $message) {
24 24
             return $message->build();
25 25
         }, $messages);
26 26
 
27 27
         if (!is_null($keyBy)) {
28 28
             $accessor = PropertyAccess::createPropertyAccessor();
29 29
 
30
-            $keys = array_map(function (MessageInterface $message) use ($accessor, $keyBy) {
30
+            $keys = array_map(function(MessageInterface $message) use ($accessor, $keyBy) {
31 31
                 return $accessor->getValue($message, $keyBy);
32 32
             }, $messages);
33 33
 
Please login to merge, or discard this patch.
src/Exception/ExceptionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Model/User/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Model\User;
5 5
 
Please login to merge, or discard this patch.
src/Model/Company/Company.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Model\Company;
5 5
 
Please login to merge, or discard this patch.
src/Model/CallTracking/CallTracking.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Model\CallTracking;
5 5
 
Please login to merge, or discard this patch.
src/Model/Media/Media.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Model\Media;
5 5
 
Please login to merge, or discard this patch.
src/Model/Inheritance/InheritanceStatuses.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Model\Inheritance;
5 5
 
Please login to merge, or discard this patch.
src/Model/Location/LocationTranslation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Model\Location;
5 5
 
Please login to merge, or discard this patch.
src/Model/Location/Location.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Model\Location;
5 5
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     public function __construct(array $data)
90 90
     {
91
-        $translations = array_map(function (array $data, string $locale) {
91
+        $translations = array_map(function(array $data, string $locale) {
92 92
             return new LocationTranslation($data + compact('locale'));
93 93
         }, array_values($data['translations']), array_keys($data['translations']));
94 94
 
Please login to merge, or discard this patch.