Completed
Pull Request — master (#86)
by
unknown
03:11
created
app/Http/Controllers/Admin/AlbumReviewController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@
 block discarded – undo
36 36
 	}
37 37
 
38 38
 	/**
39
-	* Save the new Album Review.
40
-	*
41
-	*@return Response
42
-	*/
39
+	 * Save the new Album Review.
40
+	 *
41
+	 *@return Response
42
+	 */
43 43
 	public function create(Requests\CreateRequest $request)
44 44
 	{
45 45
 		$review = new AlbumReview($request->except('img_name'));
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/EventController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@
 block discarded – undo
39 39
 	}
40 40
 
41 41
 	/**
42
-	* Save the new Event
43
-	*
44
-	* @return Response
45
-	*/
42
+	 * Save the new Event
43
+	 *
44
+	 * @return Response
45
+	 */
46 46
 	public function create(Requests\CreateRequest $request)
47 47
 	{
48 48
 		$input = $request->all();
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/ShowController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@
 block discarded – undo
39 39
 	}
40 40
 
41 41
 	/**
42
-	* Save the new Show.
43
-	*
44
-	*@return Response
45
-	*/
42
+	 * Save the new Show.
43
+	 *
44
+	 *@return Response
45
+	 */
46 46
 	public function create(Requests\CreateRequest $request)
47 47
 	{
48 48
 		$show = new Show($request->except(['show_picture', 'slider_picture']));
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/SystemSettingController.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
 			$value = $input['value_' . $setting->id];
42 42
 			$setting->value = $value;
43 43
 
44
-            $enabled_id = 'enabled_' . $setting->id;
45
-            if (array_key_exists($enabled_id, $input)) {
46
-                $setting->enabled = $input[$enabled_id];
47
-            } else {
48
-                $setting->enabled = 1;
49
-            }
44
+			$enabled_id = 'enabled_' . $setting->id;
45
+			if (array_key_exists($enabled_id, $input)) {
46
+				$setting->enabled = $input[$enabled_id];
47
+			} else {
48
+				$setting->enabled = 1;
49
+			}
50 50
 
51 51
 			$setting->save();
52 52
 		}
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/UserController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 		$user->password = '';
53 53
 		$user->save();
54 54
 
55
-        $response = $this->passwords->sendResetLink($request->only('email'), function($m)
55
+		$response = $this->passwords->sendResetLink($request->only('email'), function($m)
56 56
 		{
57 57
 			$m->subject('Welcome to WITR!');
58 58
 		});
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/VideoController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@
 block discarded – undo
37 37
 	}
38 38
 
39 39
 	/**
40
-	* Save the new eboard position.
41
-	*
42
-	*@return Response
43
-	*/
40
+	 * Save the new eboard position.
41
+	 *
42
+	 *@return Response
43
+	 */
44 44
 	public function create(Requests\CreateRequest $request)
45 45
 	{
46 46
 		$input = $request->all();
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 	 */
13 13
 	public function index()
14 14
 	{
15
-        $banner = SystemSetting::frontPageBannerText();
15
+		$banner = SystemSetting::frontPageBannerText();
16 16
 		return view('home.index')->withBanner($banner);
17 17
 	}
18 18
 
Please login to merge, or discard this patch.
app/RSS/Reader.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -8,43 +8,43 @@
 block discarded – undo
8 8
 class Reader
9 9
 {
10 10
 
11
-    protected $parser;
11
+	protected $parser;
12 12
 
13
-    public static function forParser(Parser $parser)
14
-    {
15
-        $reader = new Reader();
13
+	public static function forParser(Parser $parser)
14
+	{
15
+		$reader = new Reader();
16 16
 
17
-        $reader->parser = $parser;
17
+		$reader->parser = $parser;
18 18
 
19
-        return $reader;
20
-    }
19
+		return $reader;
20
+	}
21 21
 
22
-    public function get()
23
-    {
24
-        $results = new Collection;
22
+	public function get()
23
+	{
24
+		$results = new Collection;
25 25
 
26
-        $client = new Client();
27
-        $response = $client->get($this->parser->url(), [
28
-            'headers' => ['User-Agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36']
29
-        ]);
26
+		$client = new Client();
27
+		$response = $client->get($this->parser->url(), [
28
+			'headers' => ['User-Agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36']
29
+		]);
30 30
         
31
-        $xml = simplexml_load_string($response->getBody())->channel->item;
32
-        foreach ($xml as $node)
33
-        {
34
-            $this->adjustNamespaces($node);
35
-            $results[] = $this->parser->parse($node);
36
-        }
37
-
38
-        return $results;
39
-    }
40
-
41
-    private function adjustNamespaces($el)
42
-    {
43
-        foreach ($el->getNamespaces(TRUE) as $prefix => $ns) {
44
-            $children = $el->children($ns);
45
-            foreach ($children as $tag => $content) {
46
-                $el->{$prefix . ':' . $tag} = $content;
47
-            }
48
-        }
49
-    }
31
+		$xml = simplexml_load_string($response->getBody())->channel->item;
32
+		foreach ($xml as $node)
33
+		{
34
+			$this->adjustNamespaces($node);
35
+			$results[] = $this->parser->parse($node);
36
+		}
37
+
38
+		return $results;
39
+	}
40
+
41
+	private function adjustNamespaces($el)
42
+	{
43
+		foreach ($el->getNamespaces(TRUE) as $prefix => $ns) {
44
+			$children = $el->children($ns);
45
+			foreach ($children as $tag => $content) {
46
+				$el->{$prefix . ':' . $tag} = $content;
47
+			}
48
+		}
49
+	}
50 50
 }
Please login to merge, or discard this patch.
app/Role.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,5 +11,5 @@
 block discarded – undo
11 11
 	 */
12 12
 	protected $table = 'user_roles';
13 13
     
14
-    public $timestamps = false;
14
+	public $timestamps = false;
15 15
 }
Please login to merge, or discard this patch.