HomeDevCentral

Replace object return value by class type

Description

Replace object return value by class type

Summary:
This code was 7.2 compatible, but not 7.1, without real benefit,
as it used https://wiki.php.net/rfc/object-typehint.

Fixes T1335.

Test Plan: Test under PHP 7.1.

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1335

Differential Revision: https://devcentral.nasqueron.org/D1308

Details

Provenance
derecksonAuthored on Feb 16 2018, 15:43
derecksonPushed on Feb 16 2018, 15:43
Reviewer
dereckson
Differential Revision
D1308: Replace object return value by class type
Parents
rAPISRVLOGSeee266d4971e: Add /status entry point
Branches
Unknown
Tags
Unknown
Tasks
T1335: Make API servers log compatible with PHP 7.1 and not only PHP 7.2