Completed
Pull Request — master (#13)
by Jitendra
04:44 queued 02:55
created
src/Mail/Logger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,11 +125,11 @@
 block discarded – undo
125 125
      */
126 126
     protected function getMessageParts(\Swift_Mime_SimpleMessage $message)
127 127
     {
128
-        $attachments = \array_filter($message->getChildren(), function ($part) {
128
+        $attachments = \array_filter($message->getChildren(), function($part) {
129 129
             return $part instanceof \Swift_Attachment;
130 130
         });
131 131
 
132
-        $attachments = \array_map(function ($part) {
132
+        $attachments = \array_map(function($part) {
133 133
             return $part->getName();
134 134
         }, $attachments);
135 135
 
Please login to merge, or discard this patch.
src/Http/Middleware/Cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             return true;
139 139
         }
140 140
 
141
-        $headers  = ['X-Cache' => \time(), 'X-Cache-ID' => $this->cacheKey];
141
+        $headers = ['X-Cache' => \time(), 'X-Cache-ID' => $this->cacheKey];
142 142
 
143 143
         foreach ($response->getHeaders()->toArray() as $key => $value) {
144 144
             if (\strpos($key, 'Access-Control-') === false) {
Please login to merge, or discard this patch.
src/Di/Extension.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,8 +106,7 @@
 block discarded – undo
106 106
             // Already registered in DI.
107 107
             elseif ($this->has($name)) {
108 108
                 $resolved[] = $this->get($name);
109
-            }
110
-            else {
109
+            } else {
111 110
                 $resolved[] = $this->resolveDependency($dependency);
112 111
             }
113 112
         }
Please login to merge, or discard this patch.