mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Coding Standards
A few updates for coding standards
This commit is contained in:
parent
5888cce08e
commit
d9e9cbe753
12 changed files with 357 additions and 249 deletions
|
@ -19,8 +19,10 @@ class BaseObject
|
|||
* Get the app
|
||||
*
|
||||
* Same as get_app from boot.php
|
||||
*
|
||||
* @return object
|
||||
*/
|
||||
public function get_app()
|
||||
public function getApp()
|
||||
{
|
||||
if (self::$app) {
|
||||
return self::$app;
|
||||
|
@ -35,8 +37,10 @@ class BaseObject
|
|||
* Set the app
|
||||
*
|
||||
* @param object $app App
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function set_app($app)
|
||||
public static function setApp($app)
|
||||
{
|
||||
self::$app = $app;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue