@@ -106,7 +106,7 @@ discard block |
||
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 |
||
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 | } |