Skip to content

Commit efbd062

Browse files
authored
Make compatible with PHP 8.4
> Cloudinary\Transformation\QualifierMultiValue::setValue(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead > Cloudinary\Transformation\QualifierMultiValue::setNamedValue(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead
1 parent 2b9d5b0 commit efbd062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Transformation/Qualifier/QualifierValue/QualifierMultiValue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function addValues(...$values)
141141
*
142142
* @internal
143143
*/
144-
public function setValue(BaseComponent $value = null)
144+
public function setValue(?BaseComponent $value = null)
145145
{
146146
return $this->setSimpleValue($value ? $value->getName() : null, $value);
147147
}
@@ -186,7 +186,7 @@ public function getSimpleValue($name)
186186
*
187187
* @internal
188188
*/
189-
public function setNamedValue(BaseComponent $value = null)
189+
public function setNamedValue(?BaseComponent $value = null)
190190
{
191191
return $this->setSimpleNamedValue($value ? $value->getName() : null, $value);
192192
}

0 commit comments

Comments
 (0)