Completed
Push — master ( 6773cf...cb49b4 )
by Maciej
15s
created
src/Abstraction/Collectable.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 	 * @access private
109 109
 	 *
110 110
 	 * @param array $array
111
-	 * @param string|array $callback
111
+	 * @param callable $callback
112 112
 	 * @return array
113 113
 	 */
114 114
 	protected function transform_array_leafs( array $array, $callback ) {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 	 * @since 0.10.0
125 125
 	 * @access private
126 126
 	 *
127
-	 * @param string|array $callback
127
+	 * @param callable $callback
128 128
 	 * @param string (optional) $input The input string
129 129
 	 * @return
130 130
 	 */
Please login to merge, or discard this patch.
src/FormComposite.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	 *
28 28
 	 * @since 0.10.0
29 29
 	 *
30
-	 * @param ArtisanInterface $builder
30
+	 * @param FormArtisan $builder
31 31
 	 * @param string $action
32 32
 	 */
33 33
 	public function __construct( FormArtisan $builder, $action ) {
@@ -194,6 +194,8 @@  discard block
 block discarded – undo
194 194
 	 * @param string $response
195 195
 	 * @param string (optional) $field
196 196
 	 * @param string (optional) $value
197
+	 * @param string $field
198
+	 * @param string $value
197 199
 	 * @return string|null
198 200
 	 */
199 201
 	protected function string_or_null( $response, $field = null, $value = null ) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 defined( 'ABSPATH' ) || die();
4 4
 
5 5
 use WFV\Artisan\FormArtisan;
6
-use WFV\Contract\ValidateInterface;
7 6
 use WFV\RuleFactory;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/Collection/RuleCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 	 * @access protected
144 144
 	 *
145 145
 	 * @param string $rule
146
-	 * @return bool
146
+	 * @return integer
147 147
 	 */
148 148
 	protected function string_has_params( $rule ) {
149 149
 		return strpos( $rule, ':' );
Please login to merge, or discard this patch.
src/Collection/InputCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@  discard block
 block discarded – undo
26 26
 	 *
27 27
 	 * @since 0.10.0
28 28
 	 *
29
-	 * @param array $data
30 29
 	 * @param bool $trim
31 30
 	 */
32 31
 	public function __construct( InspectionAgent $guard, $trim = true ) {
@@ -67,6 +66,7 @@  discard block
 block discarded – undo
67 66
 	 * @since 0.11.0
68 67
 	 * @access protected
69 68
 	 *
69
+	 * @param boolean $trim
70 70
 	 */
71 71
 	protected function populate( $trim ) {
72 72
 		if( $this->guard->safe_submit() ) {
Please login to merge, or discard this patch.
wfv-validate.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 require_once WFV_VALIDATE__PLUGIN_DIR . '/vendor/autoload.php';
19 19
 
20
-use WFV\FormComposite;
21 20
 use WFV\Agent\InspectionAgent;
22 21
 use WFV\Artisan\Director;
23 22
 use WFV\Artisan\FormArtisan;
Please login to merge, or discard this patch.