Skip to content

Commit

Permalink
Fix PHPStan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Jan 14, 2018
1 parent 13e4262 commit c4a8241
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 234 deletions.
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ parameters:
- '#Constant TEMP_DIR not found#'
- '#Constant TEST_DIR not found#'
- '#Parameter \#1 \$firstResult of method [^\s]+::setFirstResult\(\) expects int, (int\|)?null given#'
- '#Method Doctrine\\DBAL\\Driver\\Connection::query\(\) invoked with \d+ parameter, 0 required#'
- '#Kdyby\\Doctrine\\EmptyResultSet::__construct\(\) does not call parent constructor from Kdyby\\Doctrine\\ResultSet.#'
- '#Call to an undefined method Serializable::__sleep\(\).#'
- '#Call to an undefined method Serializable::__wakeup\(\).#'
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/QueryObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function getLastQuery()
}

/**
* @param \Doctrine\ORM\QueryBuilder|DqlSelection|AbstractQuery|NativeQueryBuilder $query
* @param \Doctrine\ORM\QueryBuilder|AbstractQuery|NativeQueryBuilder $query
* @return Doctrine\ORM\Query|NativeQueryWrapper
*/
private function toQuery($query)
Expand Down
119 changes: 0 additions & 119 deletions tests/KdybyTests/Doctrine/data/BadlyNamedEntity.php

This file was deleted.

113 changes: 0 additions & 113 deletions tests/KdybyTests/Doctrine/data/ConcreteEntity.php

This file was deleted.

0 comments on commit c4a8241

Please sign in to comment.