php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78707 ReflectionClass::implementsInterface - incomplete documentation
Submitted: 2019-10-21 07:42 UTC Modified: -
From: fabien dot villepinte at gmail dot com Assigned:
Status: Open Package: Reflection related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fabien dot villepinte at gmail dot com
New email:
PHP Version: OS:

 

 [2019-10-21 07:42 UTC] fabien dot villepinte at gmail dot com
Description:
------------
Two elements are missing from the documentation of ReflectionClass::implementsInterface():
- the $interface parameter may also be a ReflectionClass instance
- the method throws a ReflectionException $interface is not an interface

See: https://www.php.net/manual/en/reflectionclass.implementsinterface.php


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-11-04 22:48 UTC] camporter1 at gmail dot com
Sent a docbook patch to add these clarifications: https://edit.php.net/?patchID=3449&project=PHP
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Dec 13 05:01:26 2019 UTC