-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(chore): resolve problem of typing
- Loading branch information
1 parent
eb32e3c
commit bc6b120
Showing
1 changed file
with
5 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,9 +29,9 @@ class ContentLibraries | |
#[ORM\Column(name: "dependency_type", type: "string", length: 31)] | ||
|
||
/** | ||
* @var int|null | ||
* @var null|string | ||
*/ | ||
private ?string $dependencyType; | ||
private null|string $dependencyType; | ||
|
||
#[ORM\Column(name: "drop_css", type: "boolean", length: 1)] | ||
/** | ||
|
@@ -82,15 +82,15 @@ public function setLibrary($library): self | |
/** | ||
* @return int | ||
*/ | ||
public function getDependencyType(): ?int | ||
public function getDependencyType(): ?string | ||
Check failure on line 85 in Entity/ContentLibraries.php GitHub Actions / build-test
|
||
{ | ||
return $this->dependencyType; | ||
} | ||
/** | ||
* @param int|null $dependencyType | ||
* @param null|int|string $dependencyType | ||
* @return self | ||
*/ | ||
public function setDependencyType(?int $dependencyType): self | ||
public function setDependencyType(?string $dependencyType): self | ||
Check failure on line 93 in Entity/ContentLibraries.php GitHub Actions / build-test
|
||
{ | ||
$this->dependencyType = $dependencyType; | ||
return $this; | ||
|