Completed
Push — master ( 4c24ff...8a852c )
by Nazar
04:10
created
components/modules/Shop/items_.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 	':',
24 24
 	array_slice(Route::instance()->path, -1)[0]
25 25
 );
26
-$item       = $Items->get_for_user(array_pop($item));
26
+$item = $Items->get_for_user(array_pop($item));
27 27
 $Page->title($item['title']);
28 28
 $Page->Description = description($item['description']);
29 29
 $Page->canonical_url(
Please login to merge, or discard this patch.
components/modules/Static_pages/Categories.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 	use
21 21
 		CRUD,
22 22
 		Singleton;
23
-	protected $data_model          = [
23
+	protected $data_model = [
24 24
 		'id'     => 'int',
25 25
 		'title'  => 'ml:text',
26 26
 		'path'   => 'ml:text',
Please login to merge, or discard this patch.
components/modules/Static_pages/Pages.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 	use
22 22
 		CRUD,
23 23
 		Singleton;
24
-	protected $data_model                  = [
24
+	protected $data_model = [
25 25
 		'id'        => 'int',
26 26
 		'category'  => 'int',
27 27
 		'title'     => 'ml:text',
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 				$Categories->get($parent)
165 165
 			);
166 166
 		}
167
-		$pages              = $this->db()->qfas(
167
+		$pages = $this->db()->qfas(
168 168
 			[
169 169
 				"SELECT `id`
170 170
 				FROM `[prefix]static_pages`
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 			$structure['pages'][$this->get($id)['path']] = $id;
178 178
 		}
179 179
 		unset($pages);
180
-		$categories              = $this->db()->qfa(
180
+		$categories = $this->db()->qfa(
181 181
 			[
182 182
 				"SELECT
183 183
 					`id`,
Please login to merge, or discard this patch.
components/modules/System/api/Controller/admin/permissions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 				'value',
112 112
 				'id'
113 113
 			);
114
-			$data['users']  = array_column(
114
+			$data['users'] = array_column(
115 115
 				$User->db()->qfa(
116 116
 					[
117 117
 						"SELECT
Please login to merge, or discard this patch.
components/modules/WebSockets/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 		// Disable all versions except RFC6455, which is supported by all modern browsers
141 141
 		$ws_server->disableVersion(0);
142 142
 		$ws_server->disableVersion(6);
143
-		$this->io_server        = IoServer::factory(
143
+		$this->io_server = IoServer::factory(
144 144
 			new HttpServer($ws_server),
145 145
 			$this->listen_port,
146 146
 			$this->listen_locally
Please login to merge, or discard this patch.
config/main.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
  * @copyright	Copyright (c) 2011-2015, Nazar Mokrynskyi
6 6
  * @license		MIT License, see license.txt
7 7
  */
8
-define('DEBUG',				false);
9
-define('XHTML_TAGS_STYLE',	false);
8
+define('DEBUG', false);
9
+define('XHTML_TAGS_STYLE', false);
Please login to merge, or discard this patch.
core/classes/Group.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 		'title'       => 'html',
38 38
 		'description' => 'html'
39 39
 	];
40
-	protected $table      = '[prefix]groups';
40
+	protected $table = '[prefix]groups';
41 41
 	/**
42 42
 	 * @var Prefix
43 43
 	 */
Please login to merge, or discard this patch.
core/classes/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 		'ip'          => 'text',
75 75
 		'data'        => 'json'
76 76
 	];
77
-	protected $table      = '[prefix]sessions';
77
+	protected $table = '[prefix]sessions';
78 78
 	protected function construct () {
79 79
 		$this->cache       = new Prefix('sessions');
80 80
 		$this->users_cache = new Prefix('users');
Please login to merge, or discard this patch.
core/classes/User/Properties.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	 * @param int $user
38 38
 	 */
39 39
 	function __construct ($user) {
40
-		$this->id	= $user;
40
+		$this->id = $user;
41 41
 	}
42 42
 	/**
43 43
 	 * Get data item of user
Please login to merge, or discard this patch.