Completed
Push — master ( 658bf0...58dd01 )
by Josh
17:06
created
src/Configurator/Items/TemplateDocument.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 	* Constructor
22 22
 	*
23 23
 	* @param Template Template instance that created this document
24
-	* @return void
24
+	* @return string
25 25
 	*/
26 26
 	public function __construct(Template $template)
27 27
 	{
Please login to merge, or discard this patch.
src/Configurator/Items/Variant.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 	/**
25 25
 	* Constructor
26 26
 	*
27
-	* @param  mixed $value    Default value
27
+	* @param  string $value    Default value
28 28
 	* @param  array $variants Associative array of variants ([name => value])
29 29
 	* @return void
30 30
 	*/
Please login to merge, or discard this patch.
src/Configurator/RendererGenerators/PHP/Quick.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -489,6 +489,8 @@  discard block
 block discarded – undo
489 489
 	* @param  string &$head
490 490
 	* @param  string &$tail
491 491
 	* @param  bool    $passthrough
492
+	* @param string $head
493
+	* @param string $tail
492 494
 	* @return void
493 495
 	*/
494 496
 	protected static function convertPHP(&$head, &$tail, $passthrough)
@@ -506,6 +508,10 @@  discard block
 block discarded – undo
506 508
 			"(\\\$node->getAttribute\\('([^']+)'\\))",
507 509
 			preg_replace_callback(
508 510
 				'(if\\(\\$node->hasAttribute\\(([^\\)]+)[^}]+)',
511
+
512
+				/**
513
+				 * @param string $m
514
+				 */
509 515
 				function ($m)
510 516
 				{
511 517
 					return str_replace('$node->getAttribute(' . $m[1] . ')', '', $m[0]);
@@ -858,7 +864,7 @@  discard block
 block discarded – undo
858 864
 	* Get a string suitable as a str_replace() replacement for given PHP code
859 865
 	*
860 866
 	* @param  string      $php Original code
861
-	* @return bool|string      Static replacement if possible, or FALSE otherwise
867
+	* @return string|false      Static replacement if possible, or FALSE otherwise
862 868
 	*/
863 869
 	protected static function getStaticRendering($php)
864 870
 	{
Please login to merge, or discard this patch.
src/Configurator/Rendering.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 	*
138 138
 	* NOTE: extra parameters are passed to the RendererGenerator's constructor
139 139
 	*
140
-	* @param  string|RendererGenerator $engine Engine name or instance of RendererGenerator
140
+	* @param  string $engine Engine name or instance of RendererGenerator
141 141
 	* @return RendererGenerator                Instance of RendererGenerator
142 142
 	*/
143 143
 	public function setEngine($engine)
Please login to merge, or discard this patch.
src/Parser/BuiltInFilters.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 	* Filter an IP:port value (includes IPv4 and IPv6)
128 128
 	*
129 129
 	* @param  string $attrValue Original value
130
-	* @return mixed             Filtered value, or FALSE if invalid
130
+	* @return false|string             Filtered value, or FALSE if invalid
131 131
 	*/
132 132
 	public static function filterIpport($attrValue)
133 133
 	{
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
 	* @param  mixed  $attrValue Original URL
317 317
 	* @param  array  $urlConfig URL config
318 318
 	* @param  Logger $logger    Parser's logger
319
-	* @return mixed             Cleaned up URL if valid, FALSE otherwise
319
+	* @return false|string             Cleaned up URL if valid, FALSE otherwise
320 320
 	*/
321 321
 	public static function filterUrl($attrValue, array $urlConfig, Logger $logger = null)
322 322
 	{
Please login to merge, or discard this patch.
src/Parser/Tag.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	* @param  string  $name Name of the tag
88 88
 	* @param  integer $pos  Position of the tag in the text
89 89
 	* @param  integer $len  Length of text consumed by the tag
90
-	* @return void
90
+	* @return Tag
91 91
 	*/
92 92
 	public function __construct($type, $name, $pos, $len)
93 93
 	{
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
 	/**
244 244
 	* Return this tag's end tag
245 245
 	*
246
-	* @return Tag|null This tag's end tag, or NULL if none is set
246
+	* @return Tag This tag's end tag, or NULL if none is set
247 247
 	*/
248 248
 	public function getEndTag()
249 249
 	{
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 	/**
304 304
 	* Return this tag's start tag
305 305
 	*
306
-	* @return Tag|null This tag's start tag, or NULL if none is set
306
+	* @return Tag This tag's start tag, or NULL if none is set
307 307
 	*/
308 308
 	public function getStartTag()
309 309
 	{
Please login to merge, or discard this patch.