Browse Source

Merge pull request #197 from codler/patch-2

phpdoc correction
Taylor Otwell 13 years ago
parent
commit
09c60d01dc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      laravel/arr.php
  2. 1 1
      laravel/database/connection.php

+ 1 - 1
laravel/arr.php

@@ -87,7 +87,6 @@ class Arr {
 	 *
 	 * @param  array   $array
 	 * @param  string  $key
-	 * @param  mixed   $value
 	 * @return void
 	 */
 	public static function forget(&$array, $key)
@@ -124,6 +123,7 @@ class Arr {
 	 *
 	 * @param  array    $array
 	 * @param  Closure  $callback
+	 * @param  mixed    $default
 	 * @return mixed
 	 */
 	public static function first($array, $callback, $default = null)

+ 1 - 1
laravel/database/connection.php

@@ -202,7 +202,7 @@ class Connection {
 	 * Execute a prepared PDO statement and return the appropriate results.
 	 *
 	 * @param  PDOStatement  $statement
-	 * @param  array         $results
+	 * @param  array         $bindings
 	 * @return mixed
 	 */
 	protected function execute(PDOStatement $statement, $bindings)