瀏覽代碼

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

Update Builder.php
Jan Oris 7 年之前
父節點
當前提交
e3f78af70f
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 );
     }