1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 04:08:14 +01:00

Merge remote-tracking branch 'upstream/develop' into feat/phpcs

This commit is contained in:
Sibin Grasic 2024-01-17 22:42:04 +01:00
commit 7dacd667e2
No known key found for this signature in database
GPG Key ID: 50E9E60C329EC8C1

View File

@ -16,6 +16,11 @@ abstract class DriverSpecialized implements SpecializedInterface
{
}
/**
* {@inheritdoc}
*
* @see SpecializedInterface::buildSpecialized()
*/
public static function buildSpecialized(object $generic, DriverInterface $driver): SpecializedInterface
{
$specialized = new static();
@ -25,18 +30,28 @@ abstract class DriverSpecialized implements SpecializedInterface
return $specialized;
}
/**
* {@inheritdoc}
*
* @see SpecializedInterface::driver()
*/
public function driver(): DriverInterface
{
return $this->driver;
}
/**
* {@inheritdoc}
*
* @see SpecializedInterface::generic()
*/
public function generic(): object
{
return $this->generic;
}
/**
* Magic method to read attributes of underlying modifier
* Magic method to read attributes of underlying generic object
*
* @param string $name
* @return mixed
@ -47,7 +62,7 @@ abstract class DriverSpecialized implements SpecializedInterface
}
/**
* Magic method to call methods of underlying modifier
* Magic method to call methods of underlying generic object
*
* @param string $name
* @param array $arguments