Skip to content

Commit

Permalink
Match function call with function signature
Browse files Browse the repository at this point in the history
Looks like its calling a function that doesn't take a parameter with a parameter.

Commit that added this:
3dbc951
  • Loading branch information
draco2003 authored and polyfractal committed Apr 14, 2014
1 parent 21c8698 commit 9a9e95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Elasticsearch/Endpoints/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ protected function getURI()
}

if ($this->createIfAbsent === true) {
$uri .= $this->addCreateFlag($uri);
$uri .= $this->addCreateFlag();
}

return $uri;
Expand Down Expand Up @@ -139,4 +139,4 @@ private function addCreateFlag()
}

}
}
}

0 comments on commit 9a9e95e

Please sign in to comment.