Skip to content

Commit

Permalink
Fixed missed 'static' modifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaganov committed Jun 9, 2016
1 parent 44f6403 commit 4ea512c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Access.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static function find()
* @param \app\models\Calendar $model
* @return int Access status
*/
public function check($model)
public static function check($model)
{
$result = self::ACCESS_NO;
$currentUser = \Yii::$app->user->id;
Expand Down

0 comments on commit 4ea512c

Please sign in to comment.