Passed
Branch master (97b455)
by
unknown
06:14
created
src/plugins/onTick/rssReader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,9 +96,9 @@  discard block
 block discarded – undo
96 96
 
97 97
     function getRss($feeds, $toChannel, $discord)
98 98
     {
99
-        foreach ($feeds as $rssUrl){
99
+        foreach ($feeds as $rssUrl) {
100 100
             //Check that url is set
101
-            if (!isset($rssUrl) || $rssUrl == ""){
101
+            if (!isset($rssUrl) || $rssUrl == "") {
102 102
                 continue;
103 103
             }
104 104
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             }
126 126
 
127 127
             //Find item to post
128
-            foreach($rss->channel->item as $item){
128
+            foreach ($rss->channel->item as $item) {
129 129
                 //Get item details
130 130
                 $itemTitle = (string) $item->title;
131 131
                 $itemUrl = (string) $item->link;
Please login to merge, or discard this patch.