Skip to content

Commit 1be1b75

Browse files
committed
fix mixed args
1 parent 1db1c87 commit 1be1b75

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/DataSource/DataProviders/DataProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
abstract class DataProvider
1010
{
11-
protected mixed $activeData;
11+
protected \mixed $activeData;
1212

13-
public function __construct(mixed $activeData)
13+
public function __construct(\mixed $activeData)
1414
{
1515
$this->setActiveData($activeData);
1616
}
@@ -27,7 +27,7 @@ public function getActiveData()
2727
* @param mixed $activeData
2828
* @return DataProvider
2929
*/
30-
public function setActiveData(mixed $activeData): self
30+
public function setActiveData(\mixed $activeData): self
3131
{
3232
$this->activeData = $activeData;
3333
return $this;

src/Document/Schema/RootSchema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ public function isCollection(): bool
4545
}
4646

4747

48-
public function setActiveData(mixed $activeData): self
48+
public function setActiveData(\mixed $activeData): self
4949
{
5050
$this->activeData = $activeData;
5151
return $this;
5252
}
5353

54-
public function replaceDataProvider(mixed $activeData): self
54+
public function replaceDataProvider(\mixed $activeData): self
5555
{
5656
$dataProviderClass = get_class($this->dataProvider);
5757
$this->dataProvider = new $dataProviderClass($activeData);

0 commit comments

Comments
 (0)