Completed
Push — master ( b7b84b...78616b )
by Nazar
04:19
created
components/modules/Http_server/custom_loader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 use
15 15
 	cs\Core;
16 16
 
17
-require DIR.'/core/loader_base.php';             //Inclusion of loader base
17
+require DIR.'/core/loader_base.php'; //Inclusion of loader base
18 18
 @ini_set('error_log', LOGS.'/Http_server.log');
19
-require __DIR__.'/functions.php';                //Inclusion of functions needed for http server
19
+require __DIR__.'/functions.php'; //Inclusion of functions needed for http server
20 20
 require DIR.'/core/functions_global.php';
21 21
 /**
22 22
  * Including of custom files
Please login to merge, or discard this patch.
core/classes/Request.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@  discard block
 block discarded – undo
51 51
 	 *
52 52
 	 * @throws ExitException
53 53
 	 */
54
-	function init ($server, $query, $data, $data_stream, $cookie, $files, $request_started) {
55
-		++static::$request_id;
54
+	function init ($server, $query, $data, $data_stream, $cookie, $files, $request_started) {++static::$request_id;
56 55
 		$this->init_server($server);
57 56
 		$this->init_query($query);
58 57
 		$this->init_data_and_files($data, $files, $data_stream);
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
 	 *
67 66
 	 * @throws ExitException
68 67
 	 */
69
-	function init_from_globals () {
70
-		++static::$request_id;
68
+	function init_from_globals () {++static::$request_id;
71 69
 		// Hack: we override `$_SERVER` with iterator object, so conversion from iterator to an array is needed
72 70
 		$this->init_server(iterator_to_array($_SERVER));
73 71
 		$this->init_query($_GET);
Please login to merge, or discard this patch.