Completed
Push — master ( aa5f96...588c7e )
by Josh
13:47
created
src/Configurator/JavaScript/Minifiers/ClosureCompilerService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 	* Query the Closure Compiler service
137 137
 	*
138 138
 	* @param  string       $body Request body
139
-	* @return string|false       Response body, or FALSE
139
+	* @return string|boolean       Response body, or FALSE
140 140
 	*/
141 141
 	protected function query($body)
142 142
 	{
Please login to merge, or discard this patch.
src/Configurator/TemplateNormalizations/FoldArithmeticConstants.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -42,11 +42,16 @@  discard block
 block discarded – undo
42 42
 
43 43
 	/**
44 44
 	* {@inheritdoc}
45
+	* @param string $expr
45 46
 	*/
46 47
 	protected function evaluateExpression($expr)
47 48
 	{
48 49
 		$expr = preg_replace_callback(
49 50
 			'(([\'"])(.*?)\\1)s',
51
+
52
+			/**
53
+			 * @param string $m
54
+			 */
50 55
 			function ($m)
51 56
 			{
52 57
 				return $m[1] . bin2hex($m[2]) . $m[1];
@@ -56,6 +61,10 @@  discard block
 block discarded – undo
56 61
 		$expr = parent::evaluateExpression($expr);
57 62
 		$expr = preg_replace_callback(
58 63
 			'(([\'"])(.*?)\\1)s',
64
+
65
+			/**
66
+			 * @param string $m
67
+			 */
59 68
 			function ($m)
60 69
 			{
61 70
 				return $m[1] . hex2bin($m[2]) . $m[1];
Please login to merge, or discard this patch.
src/Configurator/TemplateNormalizations/AbstractNormalization.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 	* Create a text node in current template
82 82
 	*
83 83
 	* @param  string  $content
84
-	* @return DOMText
84
+	* @return DOMNode
85 85
 	*/
86 86
 	protected function createTextNode($content)
87 87
 	{
Please login to merge, or discard this patch.
src/Configurator/RendererGenerators/PHP/Quick.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -332,6 +332,8 @@  discard block
 block discarded – undo
332 332
 	* @param  string &$head
333 333
 	* @param  string &$tail
334 334
 	* @param  bool    $passthrough
335
+	* @param string $head
336
+	* @param string $tail
335 337
 	* @return void
336 338
 	*/
337 339
 	protected static function convertPHP(&$head, &$tail, $passthrough)
@@ -349,6 +351,10 @@  discard block
 block discarded – undo
349 351
 			"(\\\$node->getAttribute\\('([^']+)'\\))",
350 352
 			preg_replace_callback(
351 353
 				'(if\\(\\$node->hasAttribute\\(([^\\)]+)[^}]+)',
354
+
355
+				/**
356
+				 * @param string $m
357
+				 */
352 358
 				function ($m)
353 359
 				{
354 360
 					return str_replace('$node->getAttribute(' . $m[1] . ')', '', $m[0]);
@@ -667,7 +673,7 @@  discard block
 block discarded – undo
667 673
 	* Get a string suitable as a str_replace() replacement for given PHP code
668 674
 	*
669 675
 	* @param  string      $php Original code
670
-	* @return bool|string      Static replacement if possible, or FALSE otherwise
676
+	* @return string|false      Static replacement if possible, or FALSE otherwise
671 677
 	*/
672 678
 	protected static function getStaticRendering($php)
673 679
 	{
@@ -689,7 +695,7 @@  discard block
 block discarded – undo
689 695
 	* Get string rendering strategies for given chunks
690 696
 	*
691 697
 	* @param  string $php
692
-	* @return array
698
+	* @return string
693 699
 	*/
694 700
 	protected static function getStringRenderings($php)
695 701
 	{
Please login to merge, or discard this patch.
src/Configurator/Helpers/TemplateParser/Normalizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
 	/**
29 29
 	* @param  Optimizer $optimizer
30
-	* @return void
30
+	* @return Normalizer
31 31
 	*/
32 32
 	public function __construct(Optimizer $optimizer)
33 33
 	{
Please login to merge, or discard this patch.
src/Configurator/Helpers/TemplateParser/Parser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
 	/**
24 24
 	* @param  Normalizer $normalizer
25
-	* @return void
25
+	* @return string
26 26
 	*/
27 27
 	public function __construct(Normalizer $normalizer)
28 28
 	{
Please login to merge, or discard this patch.
src/Configurator/Helpers/TemplateHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -504,7 +504,7 @@
 block discarded – undo
504 504
 	*
505 505
 	* @param  DOMDocument $dom
506 506
 	* @param  array       $replacement
507
-	* @return DOMNode
507
+	* @return null|DOMNode
508 508
 	*/
509 509
 	protected static function createReplacementNode(DOMDocument $dom, array $replacement)
510 510
 	{
Please login to merge, or discard this patch.