Skip to content
#

security-analysis

Here are 39 public repositories matching this topic...

derrabus
derrabus commented Jan 9, 2022

ReflectionProperty::setValue() and ReflectionProperty::getValue() are polymorphic. If you work on a static property you can omit the first parameter which is the object on which you want to access the property.

The following code is valid imho:

class MyReflectionProperty extends ReflectionProperty
{
    public function getValue(?object $object = null): mixed
    {
        ret

Improve this page

Add a description, image, and links to the security-analysis topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the security-analysis topic, visit your repo's landing page and select "manage topics."

Learn more