@@ -18,7 +18,6 @@ |
||
18 | 18 | |
19 | 19 | /** |
20 | 20 | * Get the path for conversions of the given media, relative to the root storage path. |
21 | - |
|
22 | 21 | * @return string |
23 | 22 | */ |
24 | 23 | public function getPathForConversions(Media $media) : string |
@@ -18,7 +18,7 @@ |
||
18 | 18 | /* |
19 | 19 | * Authenticate the user's personal channel... |
20 | 20 | */ |
21 | - Broadcast::channel('Xetaravel.User.*', function ($user, $userId) { |
|
21 | + Broadcast::channel('Xetaravel.User.*', function($user, $userId) { |
|
22 | 22 | return (int) $user->id === (int) $userId; |
23 | 23 | }); |
24 | 24 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | Route::group([ |
52 | 52 | 'middleware' => 'web', |
53 | 53 | 'namespace' => $this->namespace, |
54 | - ], function ($router) { |
|
54 | + ], function($router) { |
|
55 | 55 | require base_path('routes/web.php'); |
56 | 56 | }); |
57 | 57 | } |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | 'middleware' => 'api', |
70 | 70 | 'namespace' => $this->namespace, |
71 | 71 | 'prefix' => 'api', |
72 | - ], function ($router) { |
|
72 | + ], function($router) { |
|
73 | 73 | require base_path('routes/api.php'); |
74 | 74 | }); |
75 | 75 | } |
@@ -109,22 +109,22 @@ |
||
109 | 109 | public function registerMediaConversions() |
110 | 110 | { |
111 | 111 | $this->addMediaConversion('thumbnail.small') |
112 | - ->width(100) |
|
113 | - ->height(100) |
|
114 | - ->keepOriginalImageFormat(); |
|
112 | + ->width(100) |
|
113 | + ->height(100) |
|
114 | + ->keepOriginalImageFormat(); |
|
115 | 115 | |
116 | 116 | $this->addMediaConversion('thumbnail.medium') |
117 | - ->width(200) |
|
118 | - ->height(200) |
|
119 | - ->keepOriginalImageFormat(); |
|
117 | + ->width(200) |
|
118 | + ->height(200) |
|
119 | + ->keepOriginalImageFormat(); |
|
120 | 120 | |
121 | 121 | $this->addMediaConversion('thumbnail.big') |
122 | - ->width(300) |
|
123 | - ->height(300) |
|
124 | - ->keepOriginalImageFormat(); |
|
122 | + ->width(300) |
|
123 | + ->height(300) |
|
124 | + ->keepOriginalImageFormat(); |
|
125 | 125 | |
126 | 126 | $this->addMediaConversion('original') |
127 | - ->keepOriginalImageFormat(); |
|
127 | + ->keepOriginalImageFormat(); |
|
128 | 128 | } |
129 | 129 | |
130 | 130 | /** |