Skip to content
Snippets Groups Projects
Commit c201eb99 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Adaptation php8.4

parent d401a15a
No related branches found
No related tags found
No related merge requests found
Pipeline #38797 passed
...@@ -11,7 +11,7 @@ use UnicaenImport\Entity\Db\Source; ...@@ -11,7 +11,7 @@ use UnicaenImport\Entity\Db\Source;
*/ */
interface ImportAwareInterface interface ImportAwareInterface
{ {
public function setSource(Source $source = null); public function setSource(?Source $source = null);
......
...@@ -16,7 +16,7 @@ interface SourceAwareInterface ...@@ -16,7 +16,7 @@ interface SourceAwareInterface
* *
* @return $this * @return $this
*/ */
public function setSource(Source $source = null); public function setSource(?Source $source = null);
......
...@@ -18,7 +18,7 @@ trait SourceAwareTrait ...@@ -18,7 +18,7 @@ trait SourceAwareTrait
* *
* @return self * @return self
*/ */
public function setSource(Source $source = null) public function setSource(?Source $source = null)
{ {
$this->source = $source; $this->source = $source;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment