Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPDoc avoid aliases for scalar types #10

Merged
merged 2 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/HTTP/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ protected function chunked()
* Prepare headers (take care of proxies headers)
*
* @param string $headers Raw headers
* @param integer $count Redirection count. Default to 1.
* @param int $count Redirection count. Default to 1.
*
* @return string
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function get_feed()
* MD5 hash based on the permalink, title and content.
*
* @since Beta 2
* @param boolean $hash Should we force using a hash instead of the supplied ID?
* @param bool $hash Should we force using a hash instead of the supplied ID?
* @param string|false $fn User-supplied function to generate an hash
* @return string|null
*/
Expand Down Expand Up @@ -270,7 +270,7 @@ public function get_title()
* `<itunes:subtitle>`
*
* @since 0.8
* @param boolean $description_only Should we avoid falling back to the content?
* @param bool $description_only Should we avoid falling back to the content?
* @return string|null
*/
public function get_description(bool $description_only = false)
Expand Down Expand Up @@ -320,7 +320,7 @@ public function get_description(bool $description_only = false)
* Uses `<atom:content>` or `<content:encoded>` (RSS 1.0 Content Module)
*
* @since 1.0
* @param boolean $content_only Should we avoid falling back to the description?
* @param bool $content_only Should we avoid falling back to the description?
* @return string|null
*/
public function get_content(bool $content_only = false)
Expand Down
2 changes: 1 addition & 1 deletion src/Misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public static function windows_1252_to_utf8(string $string)
* @param string $data Raw data in $input encoding
* @param string $input Encoding of $data
* @param string $output Encoding you want
* @return string|boolean False if we can't convert it
* @return string|bool False if we can't convert it
*/
public static function change_encoding(string $data, string $input, string $output)
{
Expand Down
Loading