1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-12 00:43:59 +02:00

Change return types

This commit is contained in:
Oliver Vogel
2023-10-21 10:01:09 +02:00
parent e8dec6126b
commit a62c22ff53

View File

@@ -27,22 +27,22 @@ class Color implements ColorInterface
];
}
public function red(): Red
public function red(): ColorChannelInterface
{
return $this->channel(Red::class);
}
public function green(): Green
public function green(): ColorChannelInterface
{
return $this->channel(Green::class);
}
public function blue(): Blue
public function blue(): ColorChannelInterface
{
return $this->channel(Blue::class);
}
public function alpha(): Alpha
public function alpha(): ColorChannelInterface
{
return $this->channel(Alpha::class);
}