Skip to content

Commit

Permalink
Fix NEXT_MAJOR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Nov 27, 2020
1 parent 85175fb commit 6d96b39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Model/ModelManager.php
Expand Up @@ -297,7 +297,7 @@ public function executeQuery($query)
__METHOD__
), E_USER_DEPRECATED);

//throw new \InvalidArgumentException(sprintf(
//throw new \TypeError(sprintf(
// '$query must be be an instance of "%s" or "%s"',
// Builder::class,
// ProxyQuery::class
Expand Down
2 changes: 1 addition & 1 deletion tests/Filter/FilterTest.php
Expand Up @@ -80,7 +80,7 @@ public function testValues(): void

public function testExceptionOnEmptyFieldName(): void
{
// NEXT_MAJOR: Replace \RuntimeException with \LoginException.
// NEXT_MAJOR: Replace \RuntimeException with \LogicException.
$this->expectException(\RuntimeException::class);

$filter = new FilterTest_Filter();
Expand Down

0 comments on commit 6d96b39

Please sign in to comment.