Completed
Branch master (3b9644)
by Zach
07:08
created
src/Models/ManagesPortfolio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
     protected function setOrder(array $data)
120 120
     {
121 121
         return collect($data)->sortBy('order')
122
-            ->map(function ($item, $key) {
122
+            ->map(function($item, $key) {
123 123
                 $item['order'] = $key;
124 124
 
125 125
                 return $item;
Please login to merge, or discard this patch.
src/Http/Controllers/DashboardController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
     {
16 16
         $projects = Project::all()->sortBy('order')->values();
17 17
 
18
-        $images = $projects->mapWithKeys(function ($project) {
18
+        $images = $projects->mapWithKeys(function($project) {
19 19
             return [$project->name() => $project->getProjectImageUrl()];
20 20
         });
21 21
 
22
-        $blocks = $projects->mapWithKeys(function ($project) {
22
+        $blocks = $projects->mapWithKeys(function($project) {
23 23
             return [$project->name() => $project->getProjectBlockText()];
24 24
         });
25 25
 
Please login to merge, or discard this patch.
src/Http/Controllers/SettingsController.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
         $deletedProjects = Project::onlyTrashed()
38 38
             ->orderBy('deleted_at', 'DESC')
39 39
             ->get()
40
-            ->map(function ($project) {
40
+            ->map(function($project) {
41 41
                 return $project->generateProps();
42 42
             });
43 43
 
Please login to merge, or discard this patch.
src/Http/Controllers/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function __construct()
26 26
     {
27
-        $this->middleware(function ($request, $next) {
27
+        $this->middleware(function($request, $next) {
28 28
             $this->user = Auth::user();
29 29
 
30 30
             return $next($request);
Please login to merge, or discard this patch.
src/Http/ImageFilters/Medium.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function applyFilter(Image $image)
18 18
     {
19
-        return $image->resize(null, 300, function ($constraint) {
19
+        return $image->resize(null, 300, function($constraint) {
20 20
             $constraint->aspectRatio();
21 21
         });
22 22
     }
Please login to merge, or discard this patch.
src/Http/ImageFilters/Thumbnail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function applyFilter(Image $image)
18 18
     {
19
-        return $image->resize(null, 80, function ($constraint) {
19
+        return $image->resize(null, 80, function($constraint) {
20 20
             $constraint->aspectRatio();
21 21
         });
22 22
     }
Please login to merge, or discard this patch.
src/Http/ImageFilters/Small.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function applyFilter(Image $image)
18 18
     {
19
-        return $image->resize(null, 150, function ($constraint) {
19
+        return $image->resize(null, 150, function($constraint) {
20 20
             $constraint->aspectRatio();
21 21
         });
22 22
     }
Please login to merge, or discard this patch.