Passed
Push — master ( d0aeb4...d92c88 )
by Nicolas
07:53
created
public/php/common/Model/Database/ChangeLog.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
         "Downloads" => array("Crew", "Details", "TOS"),
22 22
         "Format" => array("Format"),
23 23
         "Game series" => array("Game", "Series"),
24
-        "Games" => array("AKA", "Box back", "Box front", "Comment","Creator",
25
-            "Developer", "Fact", "File", "Mag score", "Music","Game", "Publisher",
24
+        "Games" => array("AKA", "Box back", "Box front", "Comment", "Creator",
25
+            "Developer", "Fact", "File", "Mag score", "Music", "Game", "Publisher",
26 26
             "Review", "Review comment", "Screenshot", "Similar", "Submission", "Year",
27 27
             "Release", "Sound hardware", "Video"
28 28
         ),
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $this->id = $id;
70 70
 
71 71
         // Check if the section is valid
72
-        if (! array_key_exists($section, self::SECTIONS)) {
72
+        if (!array_key_exists($section, self::SECTIONS)) {
73 73
             die("Unknown section '$section'. Only "
74 74
                 .join(", ", array_keys(self::SECTIONS))." are supported");
75 75
         }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $this->section_value = $section_value;
79 79
 
80 80
         // Check is the sub-section is valid for the section
81
-        if (! in_array($sub_section, self::SECTIONS[$section])) {
81
+        if (!in_array($sub_section, self::SECTIONS[$section])) {
82 82
             die("Unknown sub-section '$sub_section'. Only "
83 83
                 .join(", ", self::SECTIONS[$section])." are supported for $section");
84 84
         }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $this->user_id = $user_id;
90 90
 
91 91
         // Check if the action is valid
92
-        if (! in_array($action, self::ACTIONS)) {
92
+        if (!in_array($action, self::ACTIONS)) {
93 93
             die("Unknown action '$action'. Only ".self::ACTIONS." are supported");
94 94
         }
95 95
         $this->action = $action;
Please login to merge, or discard this patch.