Skip to content

Commit 1efbbbf

Browse files
committed
fix phpdoc
1 parent 4fd9c29 commit 1efbbbf

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/TableManagerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getConnection(): Connection;
3838
* Returns a table or view instance
3939
*
4040
* @template T of ViewInterface
41-
* @psalm-param class-string<T> $tableClass
41+
* @param class-string<T> $tableClass
4242
* @return T
4343
* @throws InvalidTableException
4444
*/

src/ViewTrait.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
namespace PSX\Sql;
2222

23+
use PSX\Sql\Exception\InvalidTableException;
24+
2325
/**
2426
* ViewTrait
2527
*
@@ -33,6 +35,7 @@ trait ViewTrait
3335
* @template T of ViewInterface
3436
* @param class-string<T> $tableName
3537
* @return T
38+
* @throws InvalidTableException
3639
*/
3740
protected function getTable(string $tableName): ViewInterface
3841
{

0 commit comments

Comments
 (0)