]> git.mxchange.org Git - friendica.git/commit
Fixes/tye-hints (#5449)
authorRoland Häder <Quix0r@users.noreply.github.com>
Sun, 22 Jul 2018 16:35:20 +0000 (18:35 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Sun, 22 Jul 2018 16:35:20 +0000 (12:35 -0400)
commit0a519f500104712f9a07dd007ca078586aef76d1
tree5c0521ffa520001da78331354bc1e534d70a32e4
parent2e332134d467153a81389403ad82e0046a2b686f
Fixes/tye-hints (#5449)

- added type-hints for DOMDocument, DOMXPath and array
- added missing documentation about optional parameter
- `if ($foo['bar'])` is not a good choice, better use
  `if (!empty($foo['bar']))` instead
src/Protocol/OStatus.php