Skip to content

Commit ac6de1c

Browse files
committed
again...
1 parent 0c2b4eb commit ac6de1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/triagens/ArangoDb/EdgeHandler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,16 +332,16 @@ public function removeById($collectionId, $edgeId, $revision = null, $options =
332332
*
333333
* @param mixed $collectionId - collection id as string or number
334334
* @param mixed $edgeId - edge id as string or number
335-
* @param Edge $edge - edge to be updated
336-
* @param mixed $options - optional, array of options (see below) or the boolean value for $policy (for compatibility prior to version 1.1 of this method)
335+
* @param Document $edge - edge to be updated
336+
* @param mixed $options - optional, array of options (see below) or the boolean value for $policy (for compatibility prior to version 1.1 of this method)
337337
* <p>Options are :
338338
* <li>'policy' - update policy to be used in case of conflict ('error', 'last' or NULL [use default])</li>
339339
* <li>'waitForSync' - can be used to force synchronisation of the edge replacement operation to disk even in case that the waitForSync flag had been disabled for the entire collection</li>
340340
* </p>
341341
*
342342
* @return bool - always true, will throw if there is an error
343343
*/
344-
public function replaceById($collectionId, $edgeId, Edge $edge, $options = array())
344+
public function replaceById($collectionId, $edgeId, Document $edge, $options = array())
345345
{
346346
return $this->put(Urls::URL_EDGE, $collectionId, $edgeId, $edge, $options);
347347
}

0 commit comments

Comments
 (0)