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/Artisan/Director.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
    * @param string (optional) $identity
48 48
    */
49 49
   public function __construct( $identity = null ) {
50
-    $this->entity = $identity;
50
+	$this->entity = $identity;
51 51
   }
52 52
 
53 53
   /**
@@ -60,8 +60,8 @@  discard block
 block discarded – undo
60 60
    * @return self
61 61
    */
62 62
   public function describe( $attribute, $characteristic ) {
63
-    $this->scribe[ $attribute ] = $characteristic;
64
-    return $this;
63
+	$this->scribe[ $attribute ] = $characteristic;
64
+	return $this;
65 65
   }
66 66
 
67 67
   /**
@@ -73,10 +73,10 @@  discard block
 block discarded – undo
73 73
    * @return Composite
74 74
    */
75 75
   public function compose( ArtisanInterface $artisan ) {
76
-    $this->orchestrate( $this->aspect, $artisan );
77
-    return $artisan
78
-      ->create( $this->entity )
79
-      ->actualize();
76
+	$this->orchestrate( $this->aspect, $artisan );
77
+	return $artisan
78
+	  ->create( $this->entity )
79
+	  ->actualize();
80 80
   }
81 81
 
82 82
   /**
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
    * @return self
90 90
    */
91 91
   public function with( $quality, $attributes = null ) {
92
-    $this->aspect[ $quality ] = $attributes;
93
-    return $this;
92
+	$this->aspect[ $quality ] = $attributes;
93
+	return $this;
94 94
   }
95 95
 
96 96
   /**
@@ -103,8 +103,8 @@  discard block
 block discarded – undo
103 103
    * @param ArtisanInterface $artisan
104 104
    */
105 105
   private function orchestrate( array $aspect, ArtisanInterface &$artisan ) {
106
-    foreach( $aspect as $component => $params ) {
107
-      $artisan->$component( $params );
108
-    }
106
+	foreach( $aspect as $component => $params ) {
107
+	  $artisan->$component( $params );
108
+	}
109 109
   }
110 110
 }
Please login to merge, or discard this patch.
src/FormComposite.php 1 patch
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.
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.