Completed
Push — master ( d7b0a5...bc0026 )
by DAOUDI
02:39
created
Controller/SfForwardController.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,19 +42,19 @@
 block discarded – undo
42 42
             /** @var Client $client */
43 43
             $client = $this->get($guzzleServiceName);
44 44
 
45
-	        $contentType = RequestMethodMapping::$contentTypes[$method];
46
-	        $methodName  = RequestMethodMapping::$methodsMapping[$method];
45
+            $contentType = RequestMethodMapping::$contentTypes[$method];
46
+            $methodName  = RequestMethodMapping::$methodsMapping[$method];
47 47
 
48 48
             /** @var ResponseInterface $guzzleResponse */
49 49
             $guzzleResponse = $client->{$method}(
50 50
                 $params->getRouteId(),
51 51
                 [
52
-	                $contentType => $request->{$methodName}->all()
52
+                    $contentType => $request->{$methodName}->all()
53 53
                 ]
54 54
             );
55 55
 
56
-			return (
57
-			    new ResponseManager($guzzleResponse, $this->container->getParameter('kernel.project_dir'))
56
+            return (
57
+                new ResponseManager($guzzleResponse, $this->container->getParameter('kernel.project_dir'))
58 58
             )->getResponse();
59 59
         }
60 60
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
             /** @var Client $client */
43 43
             $client = $this->get($guzzleServiceName);
44 44
 
45
-	        $contentType = RequestMethodMapping::$contentTypes[$method];
46
-	        $methodName  = RequestMethodMapping::$methodsMapping[$method];
45
+	        $contentType = RequestMethodMapping::$contentTypes[ $method ];
46
+	        $methodName  = RequestMethodMapping::$methodsMapping[ $method ];
47 47
 
48 48
             /** @var ResponseInterface $guzzleResponse */
49 49
             $guzzleResponse = $client->{$method}(
Please login to merge, or discard this patch.
Util/PublicDirectory.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -11,24 +11,24 @@
 block discarded – undo
11 11
 
12 12
 class PublicDirectory
13 13
 {
14
-	/**
15
-	 * @param $projectDir
16
-	 *
17
-	 * @return string
18
-	 */
19
-	public static function getPublicDir($projectDir)
20
-	{
21
-		$webDir    = "$projectDir/web/";
22
-		$publicDir = "$projectDir/public/";
14
+    /**
15
+     * @param $projectDir
16
+     *
17
+     * @return string
18
+     */
19
+    public static function getPublicDir($projectDir)
20
+    {
21
+        $webDir    = "$projectDir/web/";
22
+        $publicDir = "$projectDir/public/";
23 23
 
24
-		if (file_exists($webDir)) {
25
-			return $webDir;
26
-		}
24
+        if (file_exists($webDir)) {
25
+            return $webDir;
26
+        }
27 27
 
28
-		if (file_exists($publicDir)) {
29
-			return $publicDir;
30
-		}
28
+        if (file_exists($publicDir)) {
29
+            return $publicDir;
30
+        }
31 31
 
32
-		return $projectDir;
33
-	}
32
+        return $projectDir;
33
+    }
34 34
 }
35 35
\ No newline at end of file
Please login to merge, or discard this patch.