Completed
Push — 2.0 ( 82b7f8...743031 )
by Kirill
13:29 queued 10:17
created
server/app/Console/Commands/ArticlesImport.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-     * @return \Generator|Article[]
109
+     * @return \Generator
110 110
      */
111 111
     private function getLatestBotArticles(): \Generator
112 112
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace App\Console\Commands;
11 11
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     private function getLatestBotArticles(): \Generator
112 112
     {
113 113
         $bots = Bot::query()
114
-            ->with(['articles' => function (MorphMany $relation) {
114
+            ->with(['articles' => function(MorphMany $relation) {
115 115
                 return $relation->latest('published_at')->take(1);
116 116
             }])
117 117
             ->get();
Please login to merge, or discard this patch.
server/app/GraphQL/Queries/Support/WhereInSelection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @param  EBuilder|QBuilder $builder
45
+     * @param  EBuilder $builder
46 46
      * @param  array             $args
47 47
      * @return EBuilder
48 48
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\GraphQL\Queries\Support;
10 10
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         return array_merge($args, [
27 27
             'id'  => [
28 28
                 'type'        => Type::listOf(Type::id()),
29
-                'description' => 'Select ' . $this->getQueryName() . ' by identifier or identifier array',
29
+                'description' => 'Select '.$this->getQueryName().' by identifier or identifier array',
30 30
             ],
31 31
         ]);
32 32
     }
Please login to merge, or discard this patch.
server/app/Services/DataProviders/LaravelNewsDataProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     }
57 57
 
58 58
     /**
59
-     * @return \Generator|ExternalArticle[]
59
+     * @return \Generator
60 60
      * @throws \RuntimeException
61 61
      */
62 62
     private function getArticles(): \Generator
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Services\DataProviders;
10 10
 
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * @param  string      $tagName
130 130
      * @return null|string
131 131
      */
132
-    private function getContentOf(\DOMElement $root, string $tagName): ?string
132
+    private function getContentOf(\DOMElement $root, string $tagName): ? string
133 133
     {
134 134
         $node = $root->getElementsByTagName($tagName);
135 135
 
Please login to merge, or discard this patch.
server/app/Services/DataProviders/Manager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @return \Generator|DataProviderInterface[]
70
+     * @return \Generator
71 71
      */
72 72
     public function getIterator(): \Generator
73 73
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Services\DataProviders;
10 10
 
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function get(string $alias): DataProviderInterface
61 61
     {
62
-        if (! array_key_exists($alias, $this->providers)) {
63
-            throw new \InvalidArgumentException($alias . ' data provider does not exists.');
62
+        if (!array_key_exists($alias, $this->providers)) {
63
+            throw new \InvalidArgumentException($alias.' data provider does not exists.');
64 64
         }
65 65
 
66 66
         return $this->providers[$alias];
Please login to merge, or discard this patch.
server/app/Services/NavMatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Services;
10 10
 
@@ -63,6 +63,6 @@  discard block
 block discarded – undo
63 63
      */
64 64
     private function isMatched(string $needle): bool
65 65
     {
66
-        return Str::startsWith($this->route->getName(), $needle . '.');
66
+        return Str::startsWith($this->route->getName(), $needle.'.');
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
server/app/Services/ColorGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Services;
12 12
 
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function make(bool $withPrefix = true): string
24 24
     {
25
-        return ($withPrefix ? '#' : '') .
26
-            strtolower(sprintf('%02X', $this->createDarkColor())) .
27
-            strtolower(sprintf('%02X', $this->createDarkColor())) .
25
+        return ($withPrefix ? '#' : '').
26
+            strtolower(sprintf('%02X', $this->createDarkColor())).
27
+            strtolower(sprintf('%02X', $this->createDarkColor())).
28 28
             strtolower(sprintf('%02X', $this->createDarkColor()));
29 29
     }
30 30
 
Please login to merge, or discard this patch.
server/app/Services/DataProviders/DataProviderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Services\DataProviders;
10 10
 
Please login to merge, or discard this patch.
server/app/Services/DataProviders/ExternalArticle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Services\DataProviders;
10 10
 
Please login to merge, or discard this patch.
server/app/Models/Tag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Models;
12 12
 
Please login to merge, or discard this patch.