-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stubs for setParameters() methods that accept arrays
- Loading branch information
1 parent
ecc4aec
commit 71a3d2d
Showing
6 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace Doctrine\Common\Collections; | ||
|
||
/** | ||
* @template TKey | ||
* @template T | ||
* @implements Collection<TKey,T> | ||
* @implements Selectable<TKey,T> | ||
*/ | ||
class ArrayCollection implements Collection, Selectable | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace Doctrine\Common\Collections; | ||
|
||
use ArrayAccess; | ||
use Countable; | ||
use IteratorAggregate; | ||
|
||
/** | ||
* @template TKey | ||
* @template T | ||
* @extends IteratorAggregate<TKey, T> | ||
* @extends ArrayAccess<TKey|null, T> | ||
*/ | ||
interface Collection extends Countable, IteratorAggregate, ArrayAccess | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace Doctrine\Common\Collections; | ||
|
||
/** | ||
* @template TKey | ||
* @template T | ||
*/ | ||
interface Selectable | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace Doctrine\ORM; | ||
|
||
use Doctrine\Common\Collections\ArrayCollection; | ||
|
||
abstract class AbstractQuery | ||
{ | ||
|
||
/** | ||
* @param ArrayCollection<mixed, mixed>|array<mixed> $parameters | ||
* @return static | ||
*/ | ||
public function setParameters($parameters) | ||
{ | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace Doctrine\ORM; | ||
|
||
class QueryBuilder | ||
{ | ||
|
||
/** | ||
* @param \Doctrine\Common\Collections\ArrayCollection<mixed, mixed>|array<mixed> $parameters | ||
* @return static | ||
*/ | ||
public function setParameters($parameters) | ||
{ | ||
|
||
} | ||
|
||
} |