Completed
Branch master (8818d0)
by Baptiste
06:16
created
src/Extension/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             return $this->services[$id];
79 79
         }
80 80
 
81
-        switch($id) {
81
+        switch ($id) {
82 82
             case 'http.history':
83 83
                 return $this->history;
84 84
 
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
         return $this->services['http.stream_factory'] = StreamFactoryDiscovery::find();
125 125
     }
126 126
 
127
-    private function getTwigService(): ?Twig_Environment
127
+    private function getTwigService(): ? Twig_Environment
128 128
     {
129 129
         if (!class_exists(Twig_Environment::class)) {
130 130
             return $this->services['twig'] = null;
Please login to merge, or discard this patch.
src/Extension/EventListener/DebugHttp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         }
119 119
     }
120 120
 
121
-    private function debug(?RequestInterface $request, ?ResponseInterface $response): void
121
+    private function debug(? RequestInterface $request, ? ResponseInterface $response) : void
122 122
     {
123 123
         if (!$request instanceof RequestInterface) {
124 124
             return;
Please login to merge, or discard this patch.
src/Extension/Tools/HttpHistory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         reset($this->tuples);
53 53
     }
54 54
 
55
-    public function getLastResponse(): ?ResponseInterface
55
+    public function getLastResponse(): ? ResponseInterface
56 56
     {
57 57
         if (1 > count($this->tuples)) {
58 58
             return null;
Please login to merge, or discard this patch.
src/Extension/Behapi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
                                 ->thenUnset()
101 101
                             ->end()
102 102
                             ->validate()
103
-                            ->ifTrue(function ($v) { return !is_dir($v); })
103
+                            ->ifTrue(function($v) { return !is_dir($v); })
104 104
                                 ->thenInvalid('Directory does not exist')
105 105
                             ->end()
106 106
                         ->end()
Please login to merge, or discard this patch.