Completed
Push — 0.2.1 ( fcf990...ed63ce )
by Anton
05:24 queued 28s
created
www/engine/Framework/Classes/Request/Request.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,21 +24,21 @@
 block discarded – undo
24 24
 
25 25
 		public static function get(string $name) {
26 26
 
27
-			return ($_GET[$name] ?? false);
27
+			return ($_GET[$name] ? ? false);
28 28
 		}
29 29
 
30 30
 		# Return POST param by name
31 31
 
32 32
 		public static function post(string $name) {
33 33
 
34
-			return ($_POST[$name] ?? false);
34
+			return ($_POST[$name] ? ? false);
35 35
 		}
36 36
 
37 37
 		# Return file by name
38 38
 
39 39
 		public static function file(string $name) {
40 40
 
41
-			return ($_FILES[$name] ?? false);
41
+			return ($_FILES[$name] ? ? false);
42 42
 		}
43 43
 
44 44
 		# Redirect to specified url
Please login to merge, or discard this patch.