Completed
Push — feature-laravel-5.4 ( 446986...783c8e )
by Kirill
13:47 queued 10:27
created
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.
app/Models/Article/ContentPreviewObserver.php 1 patch
Spacing   +3 added lines, -3 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\Models\Article;
11 11
 
@@ -37,14 +37,14 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function saving(Article $article): void
39 39
     {
40
-        if (! $article->content_source) {
40
+        if (!$article->content_source) {
41 41
             $article->preview_source = '';
42 42
             $article->preview_rendered = '';
43 43
 
44 44
             return;
45 45
         }
46 46
 
47
-        if (! $article->preview_source) {
47
+        if (!$article->preview_source) {
48 48
             $article->preview_source = Str::words($article->content_source, 100, '…');
49 49
         }
50 50
 
Please login to merge, or discard this patch.
app/Console/Commands/DataProvidersImport.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\Console\Commands;
12 12
 
Please login to merge, or discard this patch.
app/Providers/DataProviderServiceProvider.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\Providers;
10 10
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     public function register(): void
22 22
     {
23
-        $this->app->singleton(Manager::class, function (Application $app) {
23
+        $this->app->singleton(Manager::class, function(Application $app) {
24 24
             $config = $app->make(Repository::class);
25 25
             $providers = (array) $config->get('data-providers.providers', []);
26 26
 
Please login to merge, or discard this patch.