Skip to content

Commit 60bde50

Browse files
committed
- fork
- fixed: Deprecated: Return type php 8 paquettg#323
1 parent 4e01a43 commit 60bde50

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 3.2.0
9+
10+
### Changed
11+
- Forked.
12+
- Implemented fix for issue #323 from original project: Deprecated: Return type php 8 #323
13+
814
## 3.1.1
915

1016
### Changed

composer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
2-
"name": "paquettg/php-html-parser",
2+
"name": "baseciq/php-html-parser",
33
"type": "library",
4-
"description": "An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.",
4+
"description": "A fork of an HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.",
55
"keywords": ["html", "dom", "parser"],
6-
"homepage": "https://github.com/paquettg/php-html-parser",
6+
"homepage": "https://github.com/baseciq/php-html-parser",
77
"license": "MIT",
88
"authors": [
99
{
1010
"name": "Gilles Paquette",
1111
"email": "paquettg@gmail.com",
1212
"homepage": "http://gillespaquette.ca"
13+
},
14+
{
15+
"name": "Łukasz Mozer",
16+
"email": "baseciq@gmail.com"
1317
}
1418
],
1519
"require": {

src/PHPHtmlParser/Dom/Node/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function offsetUnset($offset): void
130130
*
131131
* @return mixed
132132
*/
133-
public function offsetGet($offset)
133+
public function offsetGet($offset): mixed
134134
{
135135
return $this->collection[$offset] ?? null;
136136
}

0 commit comments

Comments
 (0)