Completed
Pull Request — master (#17)
by Andreas
02:33
created
src/Entity/Cfp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
 
247 247
     public function setTimezone($timezone)
248 248
     {
249
-        if (! $timezone instanceof \DateTimeZone) {
249
+        if (!$timezone instanceof \DateTimeZone) {
250 250
             $timezone = new \DateTimeZone($timezone);
251 251
         }
252 252
 
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
 
296 296
     public function addSource($source)
297 297
     {
298
-        if (! in_array($source)) {
298
+        if (!in_array($source)) {
299 299
             $this->source[] = $source;
300 300
         }
301 301
     }
Please login to merge, or discard this patch.
src/Middleware/ConvertTypeToAccept.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         callable $next
52 52
     ) {
53 53
         $query = $request->getQueryParams();
54
-        if (! isset($query['type'])) {
54
+        if (!isset($query['type'])) {
55 55
             return $next($request, $response);
56 56
         }
57 57
 
Please login to merge, or discard this patch.
src/Renderer/RssRenderer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 {
37 37
     /**
38 38
      *
39
-     * @param Response $response
39
+     * @param ResponseInterface $response
40 40
      * @param array $data
41 41
      * @param int $status
42 42
      *
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             'uri'   => 'http://andreas.heigl.org',
57 57
         ]);
58 58
         $feed->setDateModified(time());
59
-        if (! isset($data['cfps'])) {
59
+        if (!isset($data['cfps'])) {
60 60
             $data['cfps'] = [];
61 61
         }
62 62
         foreach ($data['cfps'] as $cfp) {
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                 $entry->setContent($cfp['description']);
79 79
 
80 80
                 $feed->addEntry($entry);
81
-            } catch(\Exception $e){
81
+            } catch (\Exception $e) {
82 82
             }
83 83
         }
84 84
 
Please login to merge, or discard this patch.