Completed
Push — master ( ea6a8c...d2d9ba )
by Maciej
8s
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/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.
src/Artisan/FormArtisan.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	 *
70 70
 	 * @since 0.10.0
71 71
 	 *
72
-	 * @return WFV\FormComposite
72
+	 * @return FormComposite
73 73
 	 */
74 74
 	public function actualize() {
75 75
 		return $this->form;
@@ -80,8 +80,7 @@  discard block
 block discarded – undo
80 80
 	 *
81 81
 	 * @since 0.10.0
82 82
 	 *
83
-	 * @param string $action
84
-	 * @return WFV\Artisan\FormArtisan
83
+	 * @return FormArtisan
85 84
 	 */
86 85
 	public function create() {
87 86
 		$this->form = new FormComposite( $this );
@@ -94,7 +93,7 @@  discard block
 block discarded – undo
94 93
 	 *
95 94
 	 * @since 0.10.0
96 95
 	 *
97
-	 * @return WFV\Artisan\FormArtisan
96
+	 * @return FormArtisan
98 97
 	 */
99 98
 	public function errors() {
100 99
 		$this->collection['errors'] = new ErrorCollection( $this->labels() );
@@ -107,7 +106,7 @@  discard block
 block discarded – undo
107 106
 	 *
108 107
 	 * @since 0.10.0
109 108
 	 *
110
-	 * @return WFV\Artisan\FormArtisan
109
+	 * @return FormArtisan
111 110
 	 */
112 111
 	public function input() {
113 112
 		$guard = new InspectionAgent( $this->action );
@@ -121,7 +120,7 @@  discard block
 block discarded – undo
121 120
 	 *
122 121
 	 * @since 0.10.0
123 122
 	 *
124
-	 * @return WFV\Artisan\FormArtisan
123
+	 * @return FormArtisan
125 124
 	 */
126 125
 	public function rules() {
127 126
 		$this->collection['rules'] = new RuleCollection( $this->config );
Please login to merge, or discard this patch.
src/FormComposite.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	 *
37 37
 	 * @since 0.10.0
38 38
 	 *
39
-	 * @param ArtisanInterface $builder
39
+	 * @param FormArtisan $builder
40 40
 	 */
41 41
 	public function __construct( FormArtisan $builder ) {
42 42
 		$this->alias = $builder->action;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	 *
90 90
 	 * @since 0.10.0
91 91
 	 *
92
-	 * @return WFV\Collection\InputCollection
92
+	 * @return Collection\InputCollection
93 93
 	 */
94 94
 	public function input() {
95 95
 		return $this->utilize('input');
@@ -153,6 +153,8 @@  discard block
 block discarded – undo
153 153
 	 * @param string $response
154 154
 	 * @param string (optional) $field
155 155
 	 * @param string (optional) $value
156
+	 * @param string $field
157
+	 * @param string $value
156 158
 	 * @return string|null
157 159
 	 */
158 160
 	protected function string_or_null( $response, $field = null, $value = null ) {
Please login to merge, or discard this patch.