refactor: prepare for PSR2 (#2859)

This commit is contained in:
Dag 2022-06-24 18:29:35 +02:00 committed by GitHub
parent d2313bddcc
commit 5076d09de6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 140 additions and 146 deletions

View file

@ -483,7 +483,7 @@ class FeedItem {
* @param string $name Property name
* @param mixed $value Property value
*/
function __set($name, $value) {
public function __set($name, $value) {
switch($name) {
case 'uri': $this->setURI($value); break;
case 'title': $this->setTitle($value); break;
@ -506,7 +506,7 @@ class FeedItem {
* @param string $name Property name
* @return mixed Property value
*/
function __get($name) {
public function __get($name) {
switch($name) {
case 'uri': return $this->getURI();
case 'title': return $this->getTitle();