Completed
Push — feature-laravel-5.4 ( 791874...a838be )
by Kirill
09:23
created
app/Http/Controllers/Auth/LoginController.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\Http\Controllers\Auth;
12 12
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegistrationController.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\Http\Controllers\Auth;
12 12
 
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.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\Http\Controllers;
12 12
 
Please login to merge, or discard this patch.
app/Models/User.php 1 patch
Spacing   +2 added lines, -2 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\Models;
12 12
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             $avatar = self::DEFAULT_AVATAR_NAME;
61 61
         }
62 62
 
63
-        return self::DEFAULT_AVATAR_PATH . $avatar;
63
+        return self::DEFAULT_AVATAR_PATH.$avatar;
64 64
     }
65 65
 
66 66
     /**
Please login to merge, or discard this patch.
app/Models/Article/PublishedDateObserver.php 1 patch
Spacing   +2 added lines, -2 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\Models\Article;
12 12
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      */
24 24
     public function saving(Article $article)
25 25
     {
26
-        if (! $article->published_at) {
26
+        if (!$article->published_at) {
27 27
             $article->published_at = Carbon::now();
28 28
         }
29 29
     }
Please login to merge, or discard this patch.
app/Models/Article/ContentObserver.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\Article;
12 12
 
Please login to merge, or discard this patch.
app/Models/Article/ContentObserver/ContentHeadersRenderer.php 1 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\Models\Article\ContentObserver;
11 11
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     {
61 61
         $this->links = [];
62 62
 
63
-        $this->content = preg_replace_callback('/<(h\d+)>(.*?)<\/h\d+>/isu', function ($data) {
63
+        $this->content = preg_replace_callback('/<(h\d+)>(.*?)<\/h\d+>/isu', function($data) {
64 64
             list($data, $tag, $header) = $data;
65 65
             $id = Str::slug($header);
66 66
 
Please login to merge, or discard this patch.
app/Models/Article/ContentPreviewObserver.php 1 patch
Spacing   +2 added lines, -2 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\Models\Article;
12 12
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function saving(Article $article): void
41 41
     {
42
-        if (! $article->preview_source) {
42
+        if (!$article->preview_source) {
43 43
             $article->preview_source = Str::words($article->content_source, 100, '…');
44 44
         }
45 45
 
Please login to merge, or discard this patch.
app/Models/Article/Status.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\Article;
12 12
 
Please login to merge, or discard this patch.