Completed
Push — master ( 988761...5d514e )
by Fenz
02:27
created
libs/Parser/Node/TagNode.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 	{
180 180
 		$params= preg_split('/(?<!\\\\)\\|/',$this->line->pregGet('/^-[\w-:]+\((.*?)\)(?= |(\\{>)?$)/',1));
181 181
 
182
-		if( ($m= count($params)) != ($n= count($this->config['params'])) ){$this->document->throw("Tag $this->name has $n parameters $m given.");}
182
+		if( ($m= count($params)) != ($n= count($this->config['params'])) ){$this->document->throw("tag $this->name has $n parameters $m given.");}
183 183
 
184 184
 		array_map(function( $key, $value ){return $this->setAttribute($key,$this->checkExpression(str_replace('\\|','|',$value)));},$this->config['params'],$params);
185 185
 
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
 	protected function setAttribute( string$key, string$value, string$condition=null ):self
382 382
 	{
383 383
 		if( isset($this->attributes[$key]) )
384
-			{ $this->document->throw("Attribute $key of $this->name cannot redeclare."); }
384
+			{ $this->document->throw("attribute $key of $this->name cannot redeclare."); }
385 385
 
386 386
 		$this->attributes[$key]=[
387 387
 			'value'=> $value,
Please login to merge, or discard this patch.