Skip to content

Commit

Permalink
Merge pull request #34 from irazasyed/patch-1
Browse files Browse the repository at this point in the history
Remove array type hint in with method.
  • Loading branch information
andersao committed Jun 2, 2015
2 parents d5036b3 + 6adb385 commit 40452e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Prettus/Repository/Eloquent/BaseRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,10 @@ public function delete($id)
/**
* Load relations
*
* @param array $relations
* @param array|string $relations
* @return $this
*/
public function with(array $relations)
public function with($relations)
{
$this->model = $this->model->with($relations);
return $this;
Expand Down

0 comments on commit 40452e4

Please sign in to comment.