Passed
Push — master ( 2fb35a...7c5d8a )
by Jakub
04:41
created
src/Generator.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
    */
107 107
   public function setTemplate(string $template): void {
108 108
     if(!is_file($template)) {
109
-      throw new \RuntimeException("File $template does not exist.");
109
+      throw new \RuntimeException("file $template does not exist.");
110 110
     }
111 111
     $this->template = $template;
112 112
   }
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
   }
140 140
   
141 141
   protected function writeProperty(\SimpleXMLElement &$channel, string $property): void {
142
-    if(isset($this->$property) AND $this->$property !== "") {
142
+    if(isset($this->$property) and $this->$property !== "") {
143 143
       $channel->channel->{$property}[0][0] = $this->$property;
144 144
     }
145 145
   }
Please login to merge, or discard this patch.