Browse Source

Fix documentation error in input.md

Documentation says "Replacing the entire input" but calls Input::merge()
instead of Input::replace().

Signed-off-by: Spencer Deinum <spencerdeinum@gmail.com>
Spencer Deinum 12 years ago
parent
commit
e5dc10840a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/documentation/input.md

+ 1 - 1
laravel/documentation/input.md

@@ -145,4 +145,4 @@ Sometimes you may wish to merge or replace the current input. Here's how:
 
 #### Replacing the entire input array with new data:
 
-	Input::merge(array('doctor' => 'Bones', 'captain' => 'Kirk'));
+	Input::replace(array('doctor' => 'Bones', 'captain' => 'Kirk'));