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:
@@ -27,22 +27,22 @@ class Color implements ColorInterface
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function red(): Red
|
public function red(): ColorChannelInterface
|
||||||
{
|
{
|
||||||
return $this->channel(Red::class);
|
return $this->channel(Red::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function green(): Green
|
public function green(): ColorChannelInterface
|
||||||
{
|
{
|
||||||
return $this->channel(Green::class);
|
return $this->channel(Green::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function blue(): Blue
|
public function blue(): ColorChannelInterface
|
||||||
{
|
{
|
||||||
return $this->channel(Blue::class);
|
return $this->channel(Blue::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function alpha(): Alpha
|
public function alpha(): ColorChannelInterface
|
||||||
{
|
{
|
||||||
return $this->channel(Alpha::class);
|
return $this->channel(Alpha::class);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user