Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/ComponentModel/Container.stub
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Container extends Component implements IContainer
* @phpstan-param null|class-string<T> $filterType
* @phpstan-return ($filterType is null ? \Iterator<int|string, \Nette\ComponentModel\IComponent> : \Iterator<int|string, T>)
*/
public function getComponents(bool $deep = false, string $filterType = null): \Iterator
public function getComponents(bool $deep = false, ?string $filterType = null): \Iterator
{
// nothing
}
Expand Down
2 changes: 1 addition & 1 deletion stubs/Database/Table/Selection.stub
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Selection implements \Iterator, \ArrayAccess
* @phpstan-param positive-int|0|null $offset
* @return static<T>
*/
public function limit(?int $limit, int $offset = null)
public function limit(?int $limit, ?int $offset = null)
{
}

Expand Down