Browse Source

Merge pull request #68 from robjuz/robjuz-patch-1

Update Builder.php
Jan Oris 7 năm trước cách đây
mục cha
commit
e3f78af70f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/Builder.php

+ 2 - 2
src/Builder.php

@@ -64,10 +64,10 @@ class Builder {
     /**
      * Add GET or POST data to the request
      *
-     * @param   array $data     Array of data that is to be sent along with the request
+     * @param   mixed $data     Array of data that is to be sent along with the request
      * @return Builder
      */
-    public function withData(array $data = array())
+    public function withData($data = array())
     {
         return $this->withPackageOption( 'data', $data );
     }