Completed
Push — develop ( e2688f...d26e21 )
by Zack
29:42 queued 09:43
created
vendor/illuminate/contracts/Auth/PasswordBrokerFactory.php 3 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 interface PasswordBrokerFactory
6 6
 {
7
-    /**
8
-     * Get a password broker instance by name.
9
-     *
10
-     * @param  string|null  $name
11
-     * @return mixed
12
-     */
13
-    public function broker($name = null);
7
+	/**
8
+	 * Get a password broker instance by name.
9
+	 *
10
+	 * @param  string|null  $name
11
+	 * @return mixed
12
+	 */
13
+	public function broker($name = null);
14 14
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
      * @param  string|null  $name
11 11
      * @return mixed
12 12
      */
13
-    public function broker($name = null);
13
+    public function broker( $name = null );
14 14
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Illuminate\Contracts\Auth;
4 4
 
5
-interface PasswordBrokerFactory
6
-{
5
+interface PasswordBrokerFactory {
7 6
     /**
8 7
      * Get a password broker instance by name.
9 8
      *
Please login to merge, or discard this patch.
vendor/illuminate/contracts/Auth/Access/Authorizable.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Illuminate\Contracts\Auth\Access;
4 4
 
5
-interface Authorizable
6
-{
5
+interface Authorizable {
7 6
     /**
8 7
      * Determine if the entity has a given ability.
9 8
      *
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -10,12 +10,12 @@
 block discarded – undo
10 10
 
11 11
 interface Authorizable
12 12
 {
13
-    /**
14
-     * Determine if the entity has a given ability.
15
-     *
16
-     * @param  string  $ability
17
-     * @param  array|mixed  $arguments
18
-     * @return bool
19
-     */
20
-    public function can($ability, $arguments = []);
13
+	/**
14
+	 * Determine if the entity has a given ability.
15
+	 *
16
+	 * @param  string  $ability
17
+	 * @param  array|mixed  $arguments
18
+	 * @return bool
19
+	 */
20
+	public function can($ability, $arguments = []);
21 21
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
      * @param  array|mixed  $arguments
18 18
      * @return bool
19 19
      */
20
-    public function can($ability, $arguments = []);
20
+    public function can( $ability, $arguments = [ ] );
21 21
 }
Please login to merge, or discard this patch.
vendor/illuminate/contracts/Auth/Access/Gate.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Illuminate\Contracts\Auth\Access;
4 4
 
5
-interface Gate
6
-{
5
+interface Gate {
7 6
     /**
8 7
      * Determine if a given ability has been defined.
9 8
      *
Please login to merge, or discard this patch.
Indentation   +87 added lines, -87 removed lines patch added patch discarded remove patch
@@ -4,101 +4,101 @@
 block discarded – undo
4 4
 
5 5
 interface Gate
6 6
 {
7
-    /**
8
-     * Determine if a given ability has been defined.
9
-     *
10
-     * @param  string  $ability
11
-     * @return bool
12
-     */
13
-    public function has($ability);
7
+	/**
8
+	 * Determine if a given ability has been defined.
9
+	 *
10
+	 * @param  string  $ability
11
+	 * @return bool
12
+	 */
13
+	public function has($ability);
14 14
 
15
-    /**
16
-     * Define a new ability.
17
-     *
18
-     * @param  string  $ability
19
-     * @param  callable|string  $callback
20
-     * @return $this
21
-     */
22
-    public function define($ability, $callback);
15
+	/**
16
+	 * Define a new ability.
17
+	 *
18
+	 * @param  string  $ability
19
+	 * @param  callable|string  $callback
20
+	 * @return $this
21
+	 */
22
+	public function define($ability, $callback);
23 23
 
24
-    /**
25
-     * Define a policy class for a given class type.
26
-     *
27
-     * @param  string  $class
28
-     * @param  string  $policy
29
-     * @return $this
30
-     */
31
-    public function policy($class, $policy);
24
+	/**
25
+	 * Define a policy class for a given class type.
26
+	 *
27
+	 * @param  string  $class
28
+	 * @param  string  $policy
29
+	 * @return $this
30
+	 */
31
+	public function policy($class, $policy);
32 32
 
33
-    /**
34
-     * Register a callback to run before all Gate checks.
35
-     *
36
-     * @param  callable  $callback
37
-     * @return $this
38
-     */
39
-    public function before(callable $callback);
33
+	/**
34
+	 * Register a callback to run before all Gate checks.
35
+	 *
36
+	 * @param  callable  $callback
37
+	 * @return $this
38
+	 */
39
+	public function before(callable $callback);
40 40
 
41
-    /**
42
-     * Register a callback to run after all Gate checks.
43
-     *
44
-     * @param  callable  $callback
45
-     * @return $this
46
-     */
47
-    public function after(callable $callback);
41
+	/**
42
+	 * Register a callback to run after all Gate checks.
43
+	 *
44
+	 * @param  callable  $callback
45
+	 * @return $this
46
+	 */
47
+	public function after(callable $callback);
48 48
 
49
-    /**
50
-     * Determine if the given ability should be granted for the current user.
51
-     *
52
-     * @param  string  $ability
53
-     * @param  array|mixed  $arguments
54
-     * @return bool
55
-     */
56
-    public function allows($ability, $arguments = []);
49
+	/**
50
+	 * Determine if the given ability should be granted for the current user.
51
+	 *
52
+	 * @param  string  $ability
53
+	 * @param  array|mixed  $arguments
54
+	 * @return bool
55
+	 */
56
+	public function allows($ability, $arguments = []);
57 57
 
58
-    /**
59
-     * Determine if the given ability should be denied for the current user.
60
-     *
61
-     * @param  string  $ability
62
-     * @param  array|mixed  $arguments
63
-     * @return bool
64
-     */
65
-    public function denies($ability, $arguments = []);
58
+	/**
59
+	 * Determine if the given ability should be denied for the current user.
60
+	 *
61
+	 * @param  string  $ability
62
+	 * @param  array|mixed  $arguments
63
+	 * @return bool
64
+	 */
65
+	public function denies($ability, $arguments = []);
66 66
 
67
-    /**
68
-     * Determine if the given ability should be granted.
69
-     *
70
-     * @param  string  $ability
71
-     * @param  array|mixed  $arguments
72
-     * @return bool
73
-     */
74
-    public function check($ability, $arguments = []);
67
+	/**
68
+	 * Determine if the given ability should be granted.
69
+	 *
70
+	 * @param  string  $ability
71
+	 * @param  array|mixed  $arguments
72
+	 * @return bool
73
+	 */
74
+	public function check($ability, $arguments = []);
75 75
 
76
-    /**
77
-     * Determine if the given ability should be granted for the current user.
78
-     *
79
-     * @param  string  $ability
80
-     * @param  array|mixed  $arguments
81
-     * @return \Illuminate\Auth\Access\Response
82
-     *
83
-     * @throws \Illuminate\Auth\Access\AuthorizationException
84
-     */
85
-    public function authorize($ability, $arguments = []);
76
+	/**
77
+	 * Determine if the given ability should be granted for the current user.
78
+	 *
79
+	 * @param  string  $ability
80
+	 * @param  array|mixed  $arguments
81
+	 * @return \Illuminate\Auth\Access\Response
82
+	 *
83
+	 * @throws \Illuminate\Auth\Access\AuthorizationException
84
+	 */
85
+	public function authorize($ability, $arguments = []);
86 86
 
87
-    /**
88
-     * Get a policy instance for a given class.
89
-     *
90
-     * @param  object|string  $class
91
-     * @return mixed
92
-     *
93
-     * @throws \InvalidArgumentException
94
-     */
95
-    public function getPolicyFor($class);
87
+	/**
88
+	 * Get a policy instance for a given class.
89
+	 *
90
+	 * @param  object|string  $class
91
+	 * @return mixed
92
+	 *
93
+	 * @throws \InvalidArgumentException
94
+	 */
95
+	public function getPolicyFor($class);
96 96
 
97
-    /**
98
-     * Get a guard instance for the given user.
99
-     *
100
-     * @param  \Illuminate\Contracts\Auth\Authenticatable|mixed  $user
101
-     * @return static
102
-     */
103
-    public function forUser($user);
97
+	/**
98
+	 * Get a guard instance for the given user.
99
+	 *
100
+	 * @param  \Illuminate\Contracts\Auth\Authenticatable|mixed  $user
101
+	 * @return static
102
+	 */
103
+	public function forUser($user);
104 104
 }
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      * @param  string  $ability
11 11
      * @return bool
12 12
      */
13
-    public function has($ability);
13
+    public function has( $ability );
14 14
 
15 15
     /**
16 16
      * Define a new ability.
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      * @param  callable|string  $callback
20 20
      * @return $this
21 21
      */
22
-    public function define($ability, $callback);
22
+    public function define( $ability, $callback );
23 23
 
24 24
     /**
25 25
      * Define a policy class for a given class type.
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param  string  $policy
29 29
      * @return $this
30 30
      */
31
-    public function policy($class, $policy);
31
+    public function policy( $class, $policy );
32 32
 
33 33
     /**
34 34
      * Register a callback to run before all Gate checks.
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @param  callable  $callback
37 37
      * @return $this
38 38
      */
39
-    public function before(callable $callback);
39
+    public function before( callable $callback );
40 40
 
41 41
     /**
42 42
      * Register a callback to run after all Gate checks.
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @param  callable  $callback
45 45
      * @return $this
46 46
      */
47
-    public function after(callable $callback);
47
+    public function after( callable $callback );
48 48
 
49 49
     /**
50 50
      * Determine if the given ability should be granted for the current user.
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @param  array|mixed  $arguments
54 54
      * @return bool
55 55
      */
56
-    public function allows($ability, $arguments = []);
56
+    public function allows( $ability, $arguments = [ ] );
57 57
 
58 58
     /**
59 59
      * Determine if the given ability should be denied for the current user.
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * @param  array|mixed  $arguments
63 63
      * @return bool
64 64
      */
65
-    public function denies($ability, $arguments = []);
65
+    public function denies( $ability, $arguments = [ ] );
66 66
 
67 67
     /**
68 68
      * Determine if the given ability should be granted.
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * @param  array|mixed  $arguments
72 72
      * @return bool
73 73
      */
74
-    public function check($ability, $arguments = []);
74
+    public function check( $ability, $arguments = [ ] );
75 75
 
76 76
     /**
77 77
      * Determine if the given ability should be granted for the current user.
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      *
83 83
      * @throws \Illuminate\Auth\Access\AuthorizationException
84 84
      */
85
-    public function authorize($ability, $arguments = []);
85
+    public function authorize( $ability, $arguments = [ ] );
86 86
 
87 87
     /**
88 88
      * Get a policy instance for a given class.
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @throws \InvalidArgumentException
94 94
      */
95
-    public function getPolicyFor($class);
95
+    public function getPolicyFor( $class );
96 96
 
97 97
     /**
98 98
      * Get a guard instance for the given user.
@@ -100,5 +100,5 @@  discard block
 block discarded – undo
100 100
      * @param  \Illuminate\Contracts\Auth\Authenticatable|mixed  $user
101 101
      * @return static
102 102
      */
103
-    public function forUser($user);
103
+    public function forUser( $user );
104 104
 }
Please login to merge, or discard this patch.
vendor/illuminate/contracts/Auth/StatefulGuard.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Illuminate\Contracts\Auth;
4 4
 
5
-interface StatefulGuard extends Guard
6
-{
5
+interface StatefulGuard extends Guard {
7 6
     /**
8 7
      * Attempt to authenticate a user using the given credentials.
9 8
      *
Please login to merge, or discard this patch.
Indentation   +56 added lines, -56 removed lines patch added patch discarded remove patch
@@ -4,60 +4,60 @@
 block discarded – undo
4 4
 
5 5
 interface StatefulGuard extends Guard
6 6
 {
7
-    /**
8
-     * Attempt to authenticate a user using the given credentials.
9
-     *
10
-     * @param  array  $credentials
11
-     * @param  bool   $remember
12
-     * @return bool
13
-     */
14
-    public function attempt(array $credentials = [], $remember = false);
15
-
16
-    /**
17
-     * Log a user into the application without sessions or cookies.
18
-     *
19
-     * @param  array  $credentials
20
-     * @return bool
21
-     */
22
-    public function once(array $credentials = []);
23
-
24
-    /**
25
-     * Log a user into the application.
26
-     *
27
-     * @param  \Illuminate\Contracts\Auth\Authenticatable  $user
28
-     * @param  bool  $remember
29
-     * @return void
30
-     */
31
-    public function login(Authenticatable $user, $remember = false);
32
-
33
-    /**
34
-     * Log the given user ID into the application.
35
-     *
36
-     * @param  mixed  $id
37
-     * @param  bool   $remember
38
-     * @return \Illuminate\Contracts\Auth\Authenticatable
39
-     */
40
-    public function loginUsingId($id, $remember = false);
41
-
42
-    /**
43
-     * Log the given user ID into the application without sessions or cookies.
44
-     *
45
-     * @param  mixed  $id
46
-     * @return bool
47
-     */
48
-    public function onceUsingId($id);
49
-
50
-    /**
51
-     * Determine if the user was authenticated via "remember me" cookie.
52
-     *
53
-     * @return bool
54
-     */
55
-    public function viaRemember();
56
-
57
-    /**
58
-     * Log the user out of the application.
59
-     *
60
-     * @return void
61
-     */
62
-    public function logout();
7
+	/**
8
+	 * Attempt to authenticate a user using the given credentials.
9
+	 *
10
+	 * @param  array  $credentials
11
+	 * @param  bool   $remember
12
+	 * @return bool
13
+	 */
14
+	public function attempt(array $credentials = [], $remember = false);
15
+
16
+	/**
17
+	 * Log a user into the application without sessions or cookies.
18
+	 *
19
+	 * @param  array  $credentials
20
+	 * @return bool
21
+	 */
22
+	public function once(array $credentials = []);
23
+
24
+	/**
25
+	 * Log a user into the application.
26
+	 *
27
+	 * @param  \Illuminate\Contracts\Auth\Authenticatable  $user
28
+	 * @param  bool  $remember
29
+	 * @return void
30
+	 */
31
+	public function login(Authenticatable $user, $remember = false);
32
+
33
+	/**
34
+	 * Log the given user ID into the application.
35
+	 *
36
+	 * @param  mixed  $id
37
+	 * @param  bool   $remember
38
+	 * @return \Illuminate\Contracts\Auth\Authenticatable
39
+	 */
40
+	public function loginUsingId($id, $remember = false);
41
+
42
+	/**
43
+	 * Log the given user ID into the application without sessions or cookies.
44
+	 *
45
+	 * @param  mixed  $id
46
+	 * @return bool
47
+	 */
48
+	public function onceUsingId($id);
49
+
50
+	/**
51
+	 * Determine if the user was authenticated via "remember me" cookie.
52
+	 *
53
+	 * @return bool
54
+	 */
55
+	public function viaRemember();
56
+
57
+	/**
58
+	 * Log the user out of the application.
59
+	 *
60
+	 * @return void
61
+	 */
62
+	public function logout();
63 63
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      * @param  bool   $remember
12 12
      * @return bool
13 13
      */
14
-    public function attempt(array $credentials = [], $remember = false);
14
+    public function attempt( array $credentials = [ ], $remember = false );
15 15
 
16 16
     /**
17 17
      * Log a user into the application without sessions or cookies.
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      * @param  array  $credentials
20 20
      * @return bool
21 21
      */
22
-    public function once(array $credentials = []);
22
+    public function once( array $credentials = [ ] );
23 23
 
24 24
     /**
25 25
      * Log a user into the application.
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param  bool  $remember
29 29
      * @return void
30 30
      */
31
-    public function login(Authenticatable $user, $remember = false);
31
+    public function login( Authenticatable $user, $remember = false );
32 32
 
33 33
     /**
34 34
      * Log the given user ID into the application.
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param  bool   $remember
38 38
      * @return \Illuminate\Contracts\Auth\Authenticatable
39 39
      */
40
-    public function loginUsingId($id, $remember = false);
40
+    public function loginUsingId( $id, $remember = false );
41 41
 
42 42
     /**
43 43
      * Log the given user ID into the application without sessions or cookies.
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      * @param  mixed  $id
46 46
      * @return bool
47 47
      */
48
-    public function onceUsingId($id);
48
+    public function onceUsingId( $id );
49 49
 
50 50
     /**
51 51
      * Determine if the user was authenticated via "remember me" cookie.
Please login to merge, or discard this patch.
vendor/illuminate/contracts/Filesystem/Cloud.php 3 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 interface Cloud extends Filesystem
6 6
 {
7
-    /**
8
-     * Get the URL for the file at the given path.
9
-     *
10
-     * @param  string  $path
11
-     * @return string
12
-     */
13
-    public function url($path);
7
+	/**
8
+	 * Get the URL for the file at the given path.
9
+	 *
10
+	 * @param  string  $path
11
+	 * @return string
12
+	 */
13
+	public function url($path);
14 14
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
      * @param  string  $path
11 11
      * @return string
12 12
      */
13
-    public function url($path);
13
+    public function url( $path );
14 14
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Illuminate\Contracts\Filesystem;
4 4
 
5
-interface Cloud extends Filesystem
6
-{
5
+interface Cloud extends Filesystem {
7 6
     /**
8 7
      * Get the URL for the file at the given path.
9 8
      *
Please login to merge, or discard this patch.
vendor/illuminate/contracts/Filesystem/Filesystem.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Illuminate\Contracts\Filesystem;
4 4
 
5
-interface Filesystem
6
-{
5
+interface Filesystem {
7 6
     /**
8 7
      * The public visibility setting.
9 8
      *
Please login to merge, or discard this patch.
Indentation   +168 added lines, -168 removed lines patch added patch discarded remove patch
@@ -4,172 +4,172 @@
 block discarded – undo
4 4
 
5 5
 interface Filesystem
6 6
 {
7
-    /**
8
-     * The public visibility setting.
9
-     *
10
-     * @var string
11
-     */
12
-    const VISIBILITY_PUBLIC = 'public';
13
-
14
-    /**
15
-     * The private visibility setting.
16
-     *
17
-     * @var string
18
-     */
19
-    const VISIBILITY_PRIVATE = 'private';
20
-
21
-    /**
22
-     * Determine if a file exists.
23
-     *
24
-     * @param  string  $path
25
-     * @return bool
26
-     */
27
-    public function exists($path);
28
-
29
-    /**
30
-     * Get the contents of a file.
31
-     *
32
-     * @param  string  $path
33
-     * @return string
34
-     *
35
-     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
36
-     */
37
-    public function get($path);
38
-
39
-    /**
40
-     * Write the contents of a file.
41
-     *
42
-     * @param  string  $path
43
-     * @param  string|resource  $contents
44
-     * @param  string  $visibility
45
-     * @return bool
46
-     */
47
-    public function put($path, $contents, $visibility = null);
48
-
49
-    /**
50
-     * Get the visibility for the given path.
51
-     *
52
-     * @param  string  $path
53
-     * @return string
54
-     */
55
-    public function getVisibility($path);
56
-
57
-    /**
58
-     * Set the visibility for the given path.
59
-     *
60
-     * @param  string  $path
61
-     * @param  string  $visibility
62
-     * @return void
63
-     */
64
-    public function setVisibility($path, $visibility);
65
-
66
-    /**
67
-     * Prepend to a file.
68
-     *
69
-     * @param  string  $path
70
-     * @param  string  $data
71
-     * @return int
72
-     */
73
-    public function prepend($path, $data);
74
-
75
-    /**
76
-     * Append to a file.
77
-     *
78
-     * @param  string  $path
79
-     * @param  string  $data
80
-     * @return int
81
-     */
82
-    public function append($path, $data);
83
-
84
-    /**
85
-     * Delete the file at a given path.
86
-     *
87
-     * @param  string|array  $paths
88
-     * @return bool
89
-     */
90
-    public function delete($paths);
91
-
92
-    /**
93
-     * Copy a file to a new location.
94
-     *
95
-     * @param  string  $from
96
-     * @param  string  $to
97
-     * @return bool
98
-     */
99
-    public function copy($from, $to);
100
-
101
-    /**
102
-     * Move a file to a new location.
103
-     *
104
-     * @param  string  $from
105
-     * @param  string  $to
106
-     * @return bool
107
-     */
108
-    public function move($from, $to);
109
-
110
-    /**
111
-     * Get the file size of a given file.
112
-     *
113
-     * @param  string  $path
114
-     * @return int
115
-     */
116
-    public function size($path);
117
-
118
-    /**
119
-     * Get the file's last modification time.
120
-     *
121
-     * @param  string  $path
122
-     * @return int
123
-     */
124
-    public function lastModified($path);
125
-
126
-    /**
127
-     * Get an array of all files in a directory.
128
-     *
129
-     * @param  string|null  $directory
130
-     * @param  bool  $recursive
131
-     * @return array
132
-     */
133
-    public function files($directory = null, $recursive = false);
134
-
135
-    /**
136
-     * Get all of the files from the given directory (recursive).
137
-     *
138
-     * @param  string|null  $directory
139
-     * @return array
140
-     */
141
-    public function allFiles($directory = null);
142
-
143
-    /**
144
-     * Get all of the directories within a given directory.
145
-     *
146
-     * @param  string|null  $directory
147
-     * @param  bool  $recursive
148
-     * @return array
149
-     */
150
-    public function directories($directory = null, $recursive = false);
151
-
152
-    /**
153
-     * Get all (recursive) of the directories within a given directory.
154
-     *
155
-     * @param  string|null  $directory
156
-     * @return array
157
-     */
158
-    public function allDirectories($directory = null);
159
-
160
-    /**
161
-     * Create a directory.
162
-     *
163
-     * @param  string  $path
164
-     * @return bool
165
-     */
166
-    public function makeDirectory($path);
167
-
168
-    /**
169
-     * Recursively delete a directory.
170
-     *
171
-     * @param  string  $directory
172
-     * @return bool
173
-     */
174
-    public function deleteDirectory($directory);
7
+	/**
8
+	 * The public visibility setting.
9
+	 *
10
+	 * @var string
11
+	 */
12
+	const VISIBILITY_PUBLIC = 'public';
13
+
14
+	/**
15
+	 * The private visibility setting.
16
+	 *
17
+	 * @var string
18
+	 */
19
+	const VISIBILITY_PRIVATE = 'private';
20
+
21
+	/**
22
+	 * Determine if a file exists.
23
+	 *
24
+	 * @param  string  $path
25
+	 * @return bool
26
+	 */
27
+	public function exists($path);
28
+
29
+	/**
30
+	 * Get the contents of a file.
31
+	 *
32
+	 * @param  string  $path
33
+	 * @return string
34
+	 *
35
+	 * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
36
+	 */
37
+	public function get($path);
38
+
39
+	/**
40
+	 * Write the contents of a file.
41
+	 *
42
+	 * @param  string  $path
43
+	 * @param  string|resource  $contents
44
+	 * @param  string  $visibility
45
+	 * @return bool
46
+	 */
47
+	public function put($path, $contents, $visibility = null);
48
+
49
+	/**
50
+	 * Get the visibility for the given path.
51
+	 *
52
+	 * @param  string  $path
53
+	 * @return string
54
+	 */
55
+	public function getVisibility($path);
56
+
57
+	/**
58
+	 * Set the visibility for the given path.
59
+	 *
60
+	 * @param  string  $path
61
+	 * @param  string  $visibility
62
+	 * @return void
63
+	 */
64
+	public function setVisibility($path, $visibility);
65
+
66
+	/**
67
+	 * Prepend to a file.
68
+	 *
69
+	 * @param  string  $path
70
+	 * @param  string  $data
71
+	 * @return int
72
+	 */
73
+	public function prepend($path, $data);
74
+
75
+	/**
76
+	 * Append to a file.
77
+	 *
78
+	 * @param  string  $path
79
+	 * @param  string  $data
80
+	 * @return int
81
+	 */
82
+	public function append($path, $data);
83
+
84
+	/**
85
+	 * Delete the file at a given path.
86
+	 *
87
+	 * @param  string|array  $paths
88
+	 * @return bool
89
+	 */
90
+	public function delete($paths);
91
+
92
+	/**
93
+	 * Copy a file to a new location.
94
+	 *
95
+	 * @param  string  $from
96
+	 * @param  string  $to
97
+	 * @return bool
98
+	 */
99
+	public function copy($from, $to);
100
+
101
+	/**
102
+	 * Move a file to a new location.
103
+	 *
104
+	 * @param  string  $from
105
+	 * @param  string  $to
106
+	 * @return bool
107
+	 */
108
+	public function move($from, $to);
109
+
110
+	/**
111
+	 * Get the file size of a given file.
112
+	 *
113
+	 * @param  string  $path
114
+	 * @return int
115
+	 */
116
+	public function size($path);
117
+
118
+	/**
119
+	 * Get the file's last modification time.
120
+	 *
121
+	 * @param  string  $path
122
+	 * @return int
123
+	 */
124
+	public function lastModified($path);
125
+
126
+	/**
127
+	 * Get an array of all files in a directory.
128
+	 *
129
+	 * @param  string|null  $directory
130
+	 * @param  bool  $recursive
131
+	 * @return array
132
+	 */
133
+	public function files($directory = null, $recursive = false);
134
+
135
+	/**
136
+	 * Get all of the files from the given directory (recursive).
137
+	 *
138
+	 * @param  string|null  $directory
139
+	 * @return array
140
+	 */
141
+	public function allFiles($directory = null);
142
+
143
+	/**
144
+	 * Get all of the directories within a given directory.
145
+	 *
146
+	 * @param  string|null  $directory
147
+	 * @param  bool  $recursive
148
+	 * @return array
149
+	 */
150
+	public function directories($directory = null, $recursive = false);
151
+
152
+	/**
153
+	 * Get all (recursive) of the directories within a given directory.
154
+	 *
155
+	 * @param  string|null  $directory
156
+	 * @return array
157
+	 */
158
+	public function allDirectories($directory = null);
159
+
160
+	/**
161
+	 * Create a directory.
162
+	 *
163
+	 * @param  string  $path
164
+	 * @return bool
165
+	 */
166
+	public function makeDirectory($path);
167
+
168
+	/**
169
+	 * Recursively delete a directory.
170
+	 *
171
+	 * @param  string  $directory
172
+	 * @return bool
173
+	 */
174
+	public function deleteDirectory($directory);
175 175
 }
Please login to merge, or discard this patch.
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * @param  string  $path
25 25
      * @return bool
26 26
      */
27
-    public function exists($path);
27
+    public function exists( $path );
28 28
 
29 29
     /**
30 30
      * Get the contents of a file.
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
36 36
      */
37
-    public function get($path);
37
+    public function get( $path );
38 38
 
39 39
     /**
40 40
      * Write the contents of a file.
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @param  string  $visibility
45 45
      * @return bool
46 46
      */
47
-    public function put($path, $contents, $visibility = null);
47
+    public function put( $path, $contents, $visibility = null );
48 48
 
49 49
     /**
50 50
      * Get the visibility for the given path.
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @param  string  $path
53 53
      * @return string
54 54
      */
55
-    public function getVisibility($path);
55
+    public function getVisibility( $path );
56 56
 
57 57
     /**
58 58
      * Set the visibility for the given path.
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @param  string  $visibility
62 62
      * @return void
63 63
      */
64
-    public function setVisibility($path, $visibility);
64
+    public function setVisibility( $path, $visibility );
65 65
 
66 66
     /**
67 67
      * Prepend to a file.
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * @param  string  $data
71 71
      * @return int
72 72
      */
73
-    public function prepend($path, $data);
73
+    public function prepend( $path, $data );
74 74
 
75 75
     /**
76 76
      * Append to a file.
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * @param  string  $data
80 80
      * @return int
81 81
      */
82
-    public function append($path, $data);
82
+    public function append( $path, $data );
83 83
 
84 84
     /**
85 85
      * Delete the file at a given path.
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      * @param  string|array  $paths
88 88
      * @return bool
89 89
      */
90
-    public function delete($paths);
90
+    public function delete( $paths );
91 91
 
92 92
     /**
93 93
      * Copy a file to a new location.
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * @param  string  $to
97 97
      * @return bool
98 98
      */
99
-    public function copy($from, $to);
99
+    public function copy( $from, $to );
100 100
 
101 101
     /**
102 102
      * Move a file to a new location.
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @param  string  $to
106 106
      * @return bool
107 107
      */
108
-    public function move($from, $to);
108
+    public function move( $from, $to );
109 109
 
110 110
     /**
111 111
      * Get the file size of a given file.
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      * @param  string  $path
114 114
      * @return int
115 115
      */
116
-    public function size($path);
116
+    public function size( $path );
117 117
 
118 118
     /**
119 119
      * Get the file's last modification time.
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      * @param  string  $path
122 122
      * @return int
123 123
      */
124
-    public function lastModified($path);
124
+    public function lastModified( $path );
125 125
 
126 126
     /**
127 127
      * Get an array of all files in a directory.
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * @param  bool  $recursive
131 131
      * @return array
132 132
      */
133
-    public function files($directory = null, $recursive = false);
133
+    public function files( $directory = null, $recursive = false );
134 134
 
135 135
     /**
136 136
      * Get all of the files from the given directory (recursive).
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      * @param  string|null  $directory
139 139
      * @return array
140 140
      */
141
-    public function allFiles($directory = null);
141
+    public function allFiles( $directory = null );
142 142
 
143 143
     /**
144 144
      * Get all of the directories within a given directory.
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      * @param  bool  $recursive
148 148
      * @return array
149 149
      */
150
-    public function directories($directory = null, $recursive = false);
150
+    public function directories( $directory = null, $recursive = false );
151 151
 
152 152
     /**
153 153
      * Get all (recursive) of the directories within a given directory.
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      * @param  string|null  $directory
156 156
      * @return array
157 157
      */
158
-    public function allDirectories($directory = null);
158
+    public function allDirectories( $directory = null );
159 159
 
160 160
     /**
161 161
      * Create a directory.
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      * @param  string  $path
164 164
      * @return bool
165 165
      */
166
-    public function makeDirectory($path);
166
+    public function makeDirectory( $path );
167 167
 
168 168
     /**
169 169
      * Recursively delete a directory.
@@ -171,5 +171,5 @@  discard block
 block discarded – undo
171 171
      * @param  string  $directory
172 172
      * @return bool
173 173
      */
174
-    public function deleteDirectory($directory);
174
+    public function deleteDirectory( $directory );
175 175
 }
Please login to merge, or discard this patch.
vendor/illuminate/contracts/Filesystem/FileNotFoundException.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 class FileNotFoundException extends Exception
8 8
 {
9
-    //
9
+	//
10 10
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Exception;
6 6
 
7
-class FileNotFoundException extends Exception
8
-{
7
+class FileNotFoundException extends Exception {
9 8
     //
10 9
 }
Please login to merge, or discard this patch.
vendor/illuminate/contracts/Filesystem/Factory.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Illuminate\Contracts\Filesystem;
4 4
 
5
-interface Factory
6
-{
5
+interface Factory {
7 6
     /**
8 7
      * Get a filesystem implementation.
9 8
      *
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 interface Factory
6 6
 {
7
-    /**
8
-     * Get a filesystem implementation.
9
-     *
10
-     * @param  string  $name
11
-     * @return \Illuminate\Contracts\Filesystem\Filesystem
12
-     */
13
-    public function disk($name = null);
7
+	/**
8
+	 * Get a filesystem implementation.
9
+	 *
10
+	 * @param  string  $name
11
+	 * @return \Illuminate\Contracts\Filesystem\Filesystem
12
+	 */
13
+	public function disk($name = null);
14 14
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
      * @param  string  $name
11 11
      * @return \Illuminate\Contracts\Filesystem\Filesystem
12 12
      */
13
-    public function disk($name = null);
13
+    public function disk( $name = null );
14 14
 }
Please login to merge, or discard this patch.
vendor/illuminate/contracts/Translation/Translator.php 3 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Illuminate\Contracts\Translation;
4 4
 
5
-interface Translator
6
-{
5
+interface Translator {
7 6
     /**
8 7
      * Get the translation for a given key.
9 8
      *
Please login to merge, or discard this patch.
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -10,39 +10,39 @@
 block discarded – undo
10 10
 
11 11
 interface Translator
12 12
 {
13
-    /**
14
-     * Get the translation for a given key.
15
-     *
16
-     * @param  string  $key
17
-     * @param  array   $replace
18
-     * @param  string  $locale
19
-     * @return mixed
20
-     */
21
-    public function trans($key, array $replace = [], $locale = null);
13
+	/**
14
+	 * Get the translation for a given key.
15
+	 *
16
+	 * @param  string  $key
17
+	 * @param  array   $replace
18
+	 * @param  string  $locale
19
+	 * @return mixed
20
+	 */
21
+	public function trans($key, array $replace = [], $locale = null);
22 22
 
23
-    /**
24
-     * Get a translation according to an integer value.
25
-     *
26
-     * @param  string  $key
27
-     * @param  int|array|\Countable  $number
28
-     * @param  array   $replace
29
-     * @param  string  $locale
30
-     * @return string
31
-     */
32
-    public function transChoice($key, $number, array $replace = [], $locale = null);
23
+	/**
24
+	 * Get a translation according to an integer value.
25
+	 *
26
+	 * @param  string  $key
27
+	 * @param  int|array|\Countable  $number
28
+	 * @param  array   $replace
29
+	 * @param  string  $locale
30
+	 * @return string
31
+	 */
32
+	public function transChoice($key, $number, array $replace = [], $locale = null);
33 33
 
34
-    /**
35
-     * Get the default locale being used.
36
-     *
37
-     * @return string
38
-     */
39
-    public function getLocale();
34
+	/**
35
+	 * Get the default locale being used.
36
+	 *
37
+	 * @return string
38
+	 */
39
+	public function getLocale();
40 40
 
41
-    /**
42
-     * Set the default locale.
43
-     *
44
-     * @param  string  $locale
45
-     * @return void
46
-     */
47
-    public function setLocale($locale);
41
+	/**
42
+	 * Set the default locale.
43
+	 *
44
+	 * @param  string  $locale
45
+	 * @return void
46
+	 */
47
+	public function setLocale($locale);
48 48
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      * @param  string  $locale
19 19
      * @return mixed
20 20
      */
21
-    public function trans($key, array $replace = [], $locale = null);
21
+    public function trans( $key, array $replace = [ ], $locale = null );
22 22
 
23 23
     /**
24 24
      * Get a translation according to an integer value.
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @param  string  $locale
30 30
      * @return string
31 31
      */
32
-    public function transChoice($key, $number, array $replace = [], $locale = null);
32
+    public function transChoice( $key, $number, array $replace = [ ], $locale = null );
33 33
 
34 34
     /**
35 35
      * Get the default locale being used.
@@ -44,5 +44,5 @@  discard block
 block discarded – undo
44 44
      * @param  string  $locale
45 45
      * @return void
46 46
      */
47
-    public function setLocale($locale);
47
+    public function setLocale( $locale );
48 48
 }
Please login to merge, or discard this patch.