Completed
Pull Request — master (#139)
by Maciej
02:10
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/FormComposite.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 *
47 47
 	 * @since 0.10.0
48 48
 	 *
49
-	 * @param ArtisanInterface $builder
49
+	 * @param FormArtisan $builder
50 50
 	 * @param string $action
51 51
 	 */
52 52
 	public function __construct( FormArtisan $builder, $action ) {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	 * @since 0.11.0
80 80
 	 *
81 81
 	 * @param ValidatorFactory $factory
82
-	 * @return self
82
+	 * @return boolean
83 83
 	 */
84 84
 	protected function validate( ValidatorFactory $factory ) {
85 85
 		$rule_collection = $this->utilize('rules');
@@ -124,6 +124,8 @@  discard block
 block discarded – undo
124 124
 	 * @param string $response
125 125
 	 * @param string (optional) $field
126 126
 	 * @param string (optional) $value
127
+	 * @param string $field
128
+	 * @param string $value
127 129
 	 * @return string|null
128 130
 	 */
129 131
 	protected function string_or_null( $response, $field = null, $value = null ) {
Please login to merge, or discard this patch.