Skip to content

Instantly share code, notes, and snippets.

@genkovich

genkovich/ContrValue.php Secret

Created Apr 14, 2021
Embed
What would you like to do?
<?php
class Foo
{
public function process(int|float $value)
{
// some code
}
}
class Bar extends Foo
{
public function process(int|float|string $value)
{
// some code
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment