Skip to content

Compatibility for SilverStripe 3.7 and PHP 7 requirements #22

@sinan-evanshunt

Description

@sinan-evanshunt

SilverStripe switched from using Object to SS_Object in order to avoid conflict with PHP 7 name space of Object.

See https://docs.silverstripe.org/en/3/changelogs/3.7.0/

in HasOnePickerField.php I changed Object to SS_Object

<?php public function __construct(DataObject $childObject, $name, $title = null, SS_Object $currentHasOne, $linkExistingTitle = null, $searchContext = null) { .... }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions