Skip to content

Commit

Permalink
Autocommit PHP CS Fixer (#433)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Action <[email protected]>
  • Loading branch information
github-actions[bot] and actions-user authored Dec 13, 2024
1 parent e7cf958 commit cf81d6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Events.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2015 HumHub GmbH & Co. KG
Expand Down Expand Up @@ -146,7 +147,7 @@ public static function onTopMenuInit($event)
'url' => Url::toMessenger(),
'icon' => '<i class="fa fa-envelope"></i>',
'isActive' => (Yii::$app->controller->module && Yii::$app->controller->module->id == 'mail'),
'sortOrder' => 300
'sortOrder' => 300,
]);
}
} catch (\Throwable $e) {
Expand Down
3 changes: 2 additions & 1 deletion controllers/ConfigController.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2015 HumHub GmbH & Co. KG
Expand Down Expand Up @@ -26,7 +27,7 @@ public function actionIndex()
{
$form = new Config();

if ($form->load(Yii::$app->request->post()) && $form->save()){
if ($form->load(Yii::$app->request->post()) && $form->save()) {
$this->view->saved();
}

Expand Down
4 changes: 2 additions & 2 deletions models/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function rules()
return [
[['created_by', 'updated_by'], 'integer'],
[['title'], 'string', 'max' => 255],
[['created_at', 'updated_at'], 'safe']
[['created_at', 'updated_at'], 'safe'],
];
}

Expand Down Expand Up @@ -119,7 +119,7 @@ public function getUserMessage($userId = null)

return UserMessage::findOne([
'user_id' => $userId,
'message_id' => $this->id
'message_id' => $this->id,
]);
}

Expand Down

0 comments on commit cf81d6a

Please sign in to comment.