Skip to content

Commit

Permalink
tweak: fix php doc
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Nov 21, 2024
1 parent e5d66a2 commit 7b1f6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TableBinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function bindTableData(
}
}

/** @param array<int,array<int,string>>|array<int,array<string,string>>|array<string,array<int,string>>|array<int, array<int,string>|array<string,string>> $array */
/** @param array<int, array<int,string>> | array<int, array<string, string>> | array<string, array<int, string>> | array<int, array<int, string> | array<string, string> $array */

Check failure on line 190 in src/TableBinder.php

View workflow job for this annotation

GitHub Actions / phpstan

PHPDoc tag @param has invalid value (array<int, array<int,string>> | array<int, array<string, string>> | array<string, array<int, string>> | array<int, array<int, string> | array<string, string> $array): Unexpected token "$array", expected '>' at offset 169 on line 1
public function detectTableDataStructureType(array $array):TableDataStructureType {

Check failure on line 191 in src/TableBinder.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Gt\DomTemplate\TableBinder::detectTableDataStructureType() has parameter $array with no value type specified in iterable type array.
if(empty($array)) {
return TableDataStructureType::NORMALISED;
Expand Down

0 comments on commit 7b1f6f0

Please sign in to comment.