File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed
Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - name : Checkout PhD
11- uses : actions/checkout@v5
11+ uses : actions/checkout@v6
1212
1313 - name : Setup PHP
1414 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 66 runs-on : ubuntu-latest
77 steps :
88 - name : Checkout PhD
9- uses : actions/checkout@v5
9+ uses : actions/checkout@v6
1010 with :
1111 path : " phd"
1212
1313 - name : " Checkout php/doc-en"
14- uses : " actions/checkout@v5 "
14+ uses : " actions/checkout@v6 "
1515 with :
1616 path : " en"
1717 repository : " php/doc-en"
1818
1919 - name : " Checkout php/doc-base"
20- uses : " actions/checkout@v5 "
20+ uses : " actions/checkout@v6 "
2121 with :
2222 path : " doc-base"
2323 repository : " php/doc-base"
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout PhD
12- uses : actions/checkout@v5
12+ uses : actions/checkout@v6
1313
1414 - name : Setup PHP
1515 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 33
44class ObjectStorage extends \SplObjectStorage
55{
6- public function attach (object $ object , mixed $ info = array () ): void {
6+ public function attach (object $ object , mixed $ info = [] ): void {
77 if (!($ object instanceof Format)) {
88 throw new \InvalidArgumentException (
99 'Only classess inheriting ' . __NAMESPACE__ . '\\Format supported '
1010 );
1111 }
1212 if (empty ($ info )) {
13- $ info = array (
13+ $ info = [
1414 \XMLReader::ELEMENT => $ object ->getElementMap (),
1515 \XMLReader::TEXT => $ object ->getTextMap (),
16- ) ;
16+ ] ;
1717 }
18- parent ::attach ($ object , $ info );
18+
19+ $ this ->offsetSet ($ object , $ info );
1920 }
2021}
2122
You can’t perform that action at this time.
0 commit comments