Completed
Pull Request — master (#2113)
by
unknown
03:06
created
src/Form/Field/Select.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
 	 */
189 189
 	protected function loadRemoteOptions($url, $parameters = [], $options = []) {
190 190
 		$ajaxOptions = [
191
-			'url' => $url . '?' . http_build_query($parameters),
191
+			'url' => $url.'?'.http_build_query($parameters),
192 192
 		];
193 193
 
194 194
 		$ajaxOptions = json_encode(array_merge($ajaxOptions, $options));
Please login to merge, or discard this patch.
src/Grid/Filter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 			}
162 162
 		}
163 163
 		$inputs = array_dot($input);
164
-		$inputs = array_filter($inputs, function ($input) {
164
+		$inputs = array_filter($inputs, function($input) {
165 165
 			return $input !== '' && !is_null($input);
166 166
 		});
167 167
 
@@ -287,10 +287,10 @@  discard block
 block discarded – undo
287 287
 		$query = $request->query();
288 288
 		array_forget($query, $columns);
289 289
 
290
-		$question = $request->getBaseUrl() . $request->getPathInfo() == '/' ? '/?' : '?';
290
+		$question = $request->getBaseUrl().$request->getPathInfo() == '/' ? '/?' : '?';
291 291
 
292 292
 		return count($request->query()) > 0
293
-		? $request->url() . $question . http_build_query($query)
293
+		? $request->url().$question.http_build_query($query)
294 294
 		: $request->fullUrl();
295 295
 	}
296 296
 
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
 	 */
305 305
 	public function __call($method, $arguments) {
306 306
 		if (in_array($method, $this->supports)) {
307
-			$className = '\\Encore\\Admin\\Grid\\Filter\\' . ucfirst($method);
307
+			$className = '\\Encore\\Admin\\Grid\\Filter\\'.ucfirst($method);
308 308
 
309 309
 			return $this->addFilter(new $className(...$arguments));
310 310
 		}
Please login to merge, or discard this patch.