Completed
Push — master ( 25c873...2076b7 )
by Afshin
02:25
created
core/Translator/Translator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @var ContainerInterface $setting
17 17
      *
18
-    */
18
+     */
19 19
     public function init()
20 20
     {
21 21
         $setting = $this->settings['translation'];
Please login to merge, or discard this patch.
core/Facades/Auth.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @param Core\Services\AuthService\AuthService
17 17
      * @return AuthService
18
-    */
18
+     */
19 19
     protected static function getFacadeAccessor()
20 20
     {
21 21
         return 'AuthService';
Please login to merge, or discard this patch.
core/Interfaces/AbstractSession.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class AbstractSession
13 13
 {
14 14
 
15
-     public function getRecursiveSessionKey($data , $keyArr){
15
+        public function getRecursiveSessionKey($data , $keyArr){
16 16
         $arrayFound  = isset($data[$keyArr[0]]) ? $data[$keyArr[0]] : '';
17 17
         if($arrayFound){
18 18
             unset($keyArr[0]);
Please login to merge, or discard this patch.
core/Handlers/Session/SessionHandler.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,12 +34,12 @@
 block discarded – undo
34 34
 
35 35
     public function exists($key,$val)
36 36
     {
37
-       $keySession = $this->get($key);
37
+        $keySession = $this->get($key);
38 38
 
39
-       if($keySession){
40
-          return true;
41
-       }
42
-       return false;
39
+        if($keySession){
40
+            return true;
41
+        }
42
+        return false;
43 43
     }
44 44
 
45 45
 
Please login to merge, or discard this patch.
bootstrap/dependencies.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 $container['view'] = function ($container) {
108 108
     $messages = $container->flash->getMessages();
109 109
 
110
-     if(!is_dir('../app/View/cache')){
110
+        if(!is_dir('../app/View/cache')){
111 111
         @mkdir('../app/View/cache');
112 112
     }
113 113
 
Please login to merge, or discard this patch.
core/Services/File.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 class File extends _Service
15 15
 {
16
-	public function moveUploadedFile($directory,$fileName, UploadedFile $uploadedFile)
17
-	{
18
-	    $extension = pathinfo($uploadedFile->getClientFilename(), PATHINFO_EXTENSION);
19
-	    $basename = bin2hex(random_bytes(8)); // see http://php.net/manual/en/function.random-bytes.php
20
-	    $filename = sprintf('%s.%0.8s', $fileName, $extension);
21
-	    $uploadedFile->moveTo($directory . DIRECTORY_SEPARATOR . $filename);
22
-	    return $filename;
23
-	}
16
+    public function moveUploadedFile($directory,$fileName, UploadedFile $uploadedFile)
17
+    {
18
+        $extension = pathinfo($uploadedFile->getClientFilename(), PATHINFO_EXTENSION);
19
+        $basename = bin2hex(random_bytes(8)); // see http://php.net/manual/en/function.random-bytes.php
20
+        $filename = sprintf('%s.%0.8s', $fileName, $extension);
21
+        $uploadedFile->moveTo($directory . DIRECTORY_SEPARATOR . $filename);
22
+        return $filename;
23
+    }
24 24
 
25 25
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.