Passed
Push — master ( e4966f...264912 )
by Kazi Mainuddin
01:50
created
src/Vendors/AbstractVendor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	protected function getEpisodes($channel)
39 39
 	{
40 40
 		$items = [];
41
-		foreach($channel->item as $value) {
41
+		foreach ($channel->item as $value) {
42 42
 			$items[] = [
43 43
 				'title'        => (string) $value->title,
44 44
 				'mp3'          => $this->getAudioUrl($value),
@@ -142,10 +142,10 @@  discard block
 block discarded – undo
142 142
 		$categories = $channel->xpath('itunes:category');
143 143
 
144 144
 		$items = [];
145
-		foreach ( $categories as $category ) {
145
+		foreach ($categories as $category) {
146 146
 			$item = ['title' => (string) $category->attributes()->text, 'children' => []];
147 147
 
148
-			if (! empty($category->xpath('itunes:category'))) {
148
+			if (!empty($category->xpath('itunes:category'))) {
149 149
 				$inner = $this->fetchCategories($category);
150 150
 
151 151
 				$item['children'] = $inner;
Please login to merge, or discard this patch.