php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69350 wrong type hint for 1st parameter
Submitted: 2015-04-01 19:11 UTC Modified: 2015-04-02 04:05 UTC
From: cmb@php.net Assigned: sobak (profile)
Status: Closed Package: bz2 (PECL)
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2015-04-01 19:11 UTC] cmb@php.net
Description:
------------
---
From manual page: http://www.php.net/function.bzopen
---
According to the documentation:

| filename
| The name of the file to open, or an existing stream resource.

However, $filename is hinted as string.

Furthermore it might be reasonable to rename the filename
parameter.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-02 04:04 UTC] sobak@php.net
Automatic comment from SVN on behalf of sobak
Revision: http://svn.php.net/viewvc/?view=revision&revision=336328
Log: Fix bug #69350 (wrong type hint for 1st parameter)
 [2015-04-02 04:05 UTC] sobak@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: sobak
 [2015-04-02 04:05 UTC] sobak@php.net
Good catch, fixed.
 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of sobak
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=175bf5050e86bd5a7bb0688755821f51d93d3798
Log: Fix bug #69350 (wrong type hint for 1st parameter)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC