Completed
Push — master ( ff3168...092da6 )
by Jakub
01:52
created
src/Generator.php 2 patches
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,8 +88,8 @@
 block discarded – undo
88 88
    * @throws \RuntimeException
89 89
    */
90 90
   public function setTemplate(string $template): void {
91
-    if(!is_file($template) OR !is_readable($template)) {
92
-      throw new \RuntimeException("File $template does not exist or is not readable.");
91
+    if(!is_file($template) or !is_readable($template)) {
92
+      throw new \RuntimeException("file $template does not exist or is not readable.");
93 93
     }
94 94
     $this->template = $template;
95 95
   }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
       return new GenericElement("lastBuildDate", $value);
137 137
     });
138 138
     $resolver->setDefined([
139
-      "language", "copyright", "managingEditor", "webMaster", "ttl",  "pubDate", "rating", "categories", "skipDays",
139
+      "language", "copyright", "managingEditor", "webMaster", "ttl", "pubDate", "rating", "categories", "skipDays",
140 140
       "skipHours", "image", "cloud", "textInput",
141 141
     ]);
142 142
     $resolver->setAllowedTypes("language", "string");
Please login to merge, or discard this patch.