Passed
Push — master ( f1ddd0...4636f6 )
by Jip
08:49
created
classes/stencil/abstract-hierarchy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 	/**
30 30
 	 * Set the options
31 31
 	 *
32
-	 * @param array $options Set the options available.
32
+	 * @param string[] $options Set the options available.
33 33
 	 */
34 34
 	protected function set_options( $options ) {
35 35
 		$this->options = $options;
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 	/**
56 56
 	 * Return the key of the current element
57 57
 	 *
58
-	 * @return mixed|null scalar on success, null on failure.
58
+	 * @return integer scalar on success, null on failure.
59 59
 	 */
60 60
 	public function key() {
61 61
 		return $this->index;
Please login to merge, or discard this patch.
classes/stencil/handler-interface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 	 * Handler proxy functions
26 26
 	 *
27 27
 	 * @param Stencil_Recorder_Interface $recorder New Recorder to use.
28
+	 * @return void
28 29
 	 */
29 30
 	public function set_recorder( Stencil_Recorder_Interface $recorder );
30 31
 
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
 	 * Handler proxy functions
44 45
 	 *
45 46
 	 * @param string $variable Variable to Record into.
47
+	 * @return void
46 48
 	 */
47 49
 	public function start_recording( $variable );
48 50
 
Please login to merge, or discard this patch.
classes/stencil/handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 	/**
67 67
 	 * Control loading the wp_head and wp_footer into variable
68 68
 	 *
69
-	 * @param bool|true $yes_or_no Wheter to load them or not.
69
+	 * @param boolean $yes_or_no Wheter to load them or not.
70 70
 	 */
71 71
 	public function load_wp_header_and_footer( $yes_or_no = true ) {
72 72
 		if ( $this->load_wp_header_and_footer === $yes_or_no ) {
Please login to merge, or discard this patch.
classes/stencil/handlers-interface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@  discard block
 block discarded – undo
14 14
 	 *
15 15
 	 * @param string            $page Page to set.
16 16
 	 * @param array|Traversable $handler Handler to use.
17
+	 * @return void
17 18
 	 */
18 19
 	public function set_hierarchy_handler( $page, $handler );
19 20
 
@@ -22,6 +23,7 @@  discard block
 block discarded – undo
22 23
 	 *
23 24
 	 * @param string   $page Page to set.
24 25
 	 * @param callable $handler Handler to use.
26
+	 * @return void
25 27
 	 */
26 28
 	public function set_page_type_handler( $page, $handler );
27 29
 
@@ -30,6 +32,7 @@  discard block
 block discarded – undo
30 32
 	 *
31 33
 	 * @param string   $page Page to set to.
32 34
 	 * @param callable $handler Handler to use.
35
+	 * @return void
33 36
 	 */
34 37
 	public function set_page_type_hooker( $page, $handler );
35 38
 
@@ -37,6 +40,7 @@  discard block
 block discarded – undo
37 40
 	 * Remove handler for a page.
38 41
 	 *
39 42
 	 * @param string $page Page to remove from.
43
+	 * @return void
40 44
 	 */
41 45
 	public function remove_page_type_handler( $page );
42 46
 
@@ -44,6 +48,7 @@  discard block
 block discarded – undo
44 48
 	 * Remove page hooker from page
45 49
 	 *
46 50
 	 * @param string $page Page to remove from.
51
+	 * @return void
47 52
 	 */
48 53
 	public function remove_page_type_hooker( $page );
49 54
 }
Please login to merge, or discard this patch.
classes/stencil/recorder-interface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@
 block discarded – undo
11 11
 interface Stencil_Recorder_Interface {
12 12
 	/**
13 13
 	 * Start capturing output buffer
14
+	 * @return void
14 15
 	 */
15 16
 	public function start_recording();
16 17
 
Please login to merge, or discard this patch.
classes/stencil/handler-factory-interface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@  discard block
 block discarded – undo
14 14
 	 *
15 15
 	 * @param string            $page Page to set.
16 16
 	 * @param array|Traversable $handler Handler to use.
17
+	 * @return void
17 18
 	 */
18 19
 	public function set_hierarchy_handler( $page, $handler );
19 20
 
@@ -22,6 +23,7 @@  discard block
 block discarded – undo
22 23
 	 *
23 24
 	 * @param string   $page Page to set.
24 25
 	 * @param callable $handler Handler to use.
26
+	 * @return void
25 27
 	 */
26 28
 	public function set_page_type_handler( $page, $handler );
27 29
 
@@ -30,6 +32,7 @@  discard block
 block discarded – undo
30 32
 	 *
31 33
 	 * @param string   $page Page to set to.
32 34
 	 * @param callable $handler Handler to use.
35
+	 * @return void
33 36
 	 */
34 37
 	public function set_page_type_hooker( $page, $handler );
35 38
 
@@ -37,6 +40,7 @@  discard block
 block discarded – undo
37 40
 	 * Remove handler for a page.
38 41
 	 *
39 42
 	 * @param string $page Page to remove from.
43
+	 * @return void
40 44
 	 */
41 45
 	public function remove_page_type_handler( $page );
42 46
 
@@ -44,6 +48,7 @@  discard block
 block discarded – undo
44 48
 	 * Remove page hooker from page
45 49
 	 *
46 50
 	 * @param string $page Page to remove from.
51
+	 * @return void
47 52
 	 */
48 53
 	public function remove_page_type_hooker( $page );
49 54
 }
Please login to merge, or discard this patch.
classes/stencil/implementation-interface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@
 block discarded – undo
11 11
 interface Stencil_Recorder_Interface {
12 12
 	/**
13 13
 	 * Start capturing output buffer
14
+	 * @return void
14 15
 	 */
15 16
 	public function start_recording();
16 17
 
Please login to merge, or discard this patch.