Completed
Push — master ( 6d9a3d...0eca08 )
by Tobias
08:05 queued 05:18
created
controller/main.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 	 * @param \phpbb\path_helper	$path_helper
30 30
 	 * @param Container			$phpbb_container
31 31
 	 * @param \phpbb\user			$user
32
-
33 32
 	 */
34 33
 	public function __construct(\phpbb\path_helper $path_helper, Container $phpbb_container,  \phpbb\user $user)
35 34
 	{
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 			$data['U_MARK_READ'] = $this->path_helper->update_web_root_path($data['U_MARK_READ']);
54 54
 			$data['URL'] = $this->path_helper->update_web_root_path($data['URL']);
55 55
 			$data['L_MARK_READ'] = $this->user->lang['MARK_READ'];
56
-			$result[] =$data;
56
+			$result[] = $data;
57 57
 		}
58 58
 
59 59
 		return new JsonResponse($result);
Please login to merge, or discard this patch.
event/listener.php 3 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -29,14 +29,14 @@  discard block
 block discarded – undo
29 29
 	protected $user;
30 30
 
31 31
 	/**
32
-	* Constructor
33
-	*
34
-	* @param \phpbb\config\config 			$config				Config object
35
-	* @param \phpbb\controller\helper			$helper				Helper object
36
-	* @param \phpbb\template\template		$template				Template object
37
-	* @param \phpbb\user					$user				User object
38
-	* @access public
39
-	*/
32
+	 * Constructor
33
+	 *
34
+	 * @param \phpbb\config\config 			$config				Config object
35
+	 * @param \phpbb\controller\helper			$helper				Helper object
36
+	 * @param \phpbb\template\template		$template				Template object
37
+	 * @param \phpbb\user					$user				User object
38
+	 * @access public
39
+	 */
40 40
 	public function __construct(\phpbb\config\config $config, \phpbb\controller\helper $helper, \phpbb\template\template $template, \phpbb\user $user)
41 41
 	{
42 42
 		$this->config = $config;
@@ -46,12 +46,12 @@  discard block
 block discarded – undo
46 46
 	}
47 47
 
48 48
 	/**
49
-	* Assign functions defined in this class to event listeners in the core
50
-	*
51
-	* @return array
52
-	* @static
53
-	* @access public
54
-	*/
49
+	 * Assign functions defined in this class to event listeners in the core
50
+	 *
51
+	 * @return array
52
+	 * @static
53
+	 * @access public
54
+	 */
55 55
 	public static function getSubscribedEvents()
56 56
 	{
57 57
 		return array(
@@ -61,11 +61,11 @@  discard block
 block discarded – undo
61 61
 	}
62 62
 
63 63
 	/**
64
-	* Send AJAX URL to template
65
-	*
66
-	* @return null
67
-	* @access public
68
-	*/
64
+	 * Send AJAX URL to template
65
+	 *
66
+	 * @return null
67
+	 * @access public
68
+	 */
69 69
 	public function page_header()
70 70
 	{
71 71
 		$this->template->assign_vars(array(
@@ -74,12 +74,12 @@  discard block
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	* Add field to acp_board load settings page
78
-	*
79
-	* @param	object	$event	The event object
80
-	* @return	null
81
-	* @access	public
82
-	*/
77
+	 * Add field to acp_board load settings page
78
+	 *
79
+	 * @param	object	$event	The event object
80
+	 * @return	null
81
+	 * @access	public
82
+	 */
83 83
 	public function acp_board_config_edit_add($event)
84 84
 	{
85 85
 		if ($event['mode'] == 'load')
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,8 +103,7 @@
 block discarded – undo
103 103
 		if (is_int($position))
104 104
 		{
105 105
 			array_splice($array, $position, 0, $insert);
106
-		}
107
-		else
106
+		} else
108 107
 		{
109 108
 			$pos   = array_search($position, array_keys($array));
110 109
 			$array = array_merge(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 				'validate'	=> 'int:0:99999',
94 94
 				'type'	=> 'number:0:99999',
95 95
 				'explain'	=> true,
96
-				'append'	=> ' ' . $this->user->lang['SECONDS']
96
+				'append'	=> ' '.$this->user->lang['SECONDS']
97 97
 			));
98 98
 			$display_vars['vars'] = $this->array_insert($display_vars['vars'], 'legend2', $insert);
99 99
 			$event['display_vars'] = $display_vars;
Please login to merge, or discard this patch.