Skip to content

Commit

Permalink
Removed unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Oct 5, 2018
1 parent 5fbb1a8 commit 271c755
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Controller/DocumentController.php
Expand Up @@ -283,11 +283,10 @@ public function newAction(Request $request, Document $parent = null) {
/**
* Open an existing document entity.
*
* @param Request $request The request.
* @param Document $directory The document entity.
* @return Response Returns the response.
*/
public function openAction(Request $request, Document $directory = null) {
public function openAction(Document $directory = null) {

// Get the entities manager.
$em = $this->getDoctrine()->getManager();
Expand Down

0 comments on commit 271c755

Please sign in to comment.