Passed
Push — 0.8.x ( e17fe0...c18570 )
by Alexander
06:23 queued 02:59
created
src/components/Filesystem/Filesystem.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 			$__path = $path;
242 242
 			$__data = $data;
243 243
 
244
-			return (static function () use ($__path, $__data) {
244
+			return (static function() use ($__path, $__data) {
245 245
 				extract($__data, EXTR_SKIP);
246 246
 
247 247
 				return require $__path;
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
 			$__path = $path;
268 268
 			$__data = $data;
269 269
 
270
-			return (static function () use ($__path, $__data) {
270
+			return (static function() use ($__path, $__data) {
271 271
 				extract($__data, EXTR_SKIP);
272 272
 
273 273
 				return require_once $__path;
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
 	 * 
290 290
 	 * @return int|null  The file size in bytes or null if unknown
291 291
 	 */
292
-	public function size($path, $unit = 'b'): int|null
292
+	public function size($path, $unit = 'b'): int | null
293 293
 	{
294 294
 		if ( ! $this->exists($path)) {
295 295
 			if (is_null($this->size)) {
@@ -767,7 +767,7 @@  discard block
 block discarded – undo
767 767
 	 *
768 768
 	 * @return int|bool
769 769
 	 */
770
-	public function put($path, $contents, $lock = false): int|bool
770
+	public function put($path, $contents, $lock = false): int | bool
771 771
 	{
772 772
 		return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
773 773
 	}
Please login to merge, or discard this patch.