1 | <?php |
||
37 | class SocialNetworkAccount extends ActiveRecord |
||
38 | { |
||
39 | use ModuleAwareTrait; |
||
40 | use ContainerAwareTrait; |
||
41 | |||
42 | /** |
||
43 | * @var array json decoded properties |
||
44 | */ |
||
45 | protected $decodedData; |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | 1 | public static function tableName() |
|
54 | |||
55 | /** |
||
56 | * @return bool Whether this social account is connected to user |
||
57 | */ |
||
58 | public function getIsConnected() |
||
62 | |||
63 | /** |
||
64 | * @return array json decoded properties |
||
65 | */ |
||
66 | public function getDecodedData() |
||
74 | |||
75 | /** |
||
76 | * @throws Exception |
||
77 | * @throws InvalidParamException |
||
78 | * @return string the connection url |
||
79 | */ |
||
80 | public function getConnectionUrl() |
||
87 | |||
88 | /** |
||
89 | * Connects account to a user. |
||
90 | * |
||
91 | * @param User $user |
||
92 | * |
||
93 | * @return int |
||
94 | */ |
||
95 | public function connect(User $user) |
||
106 | |||
107 | /** |
||
108 | * @return \yii\db\ActiveQuery |
||
109 | */ |
||
110 | public function getUser() |
||
114 | |||
115 | /** |
||
116 | * @return SocialNetworkAccountQuery |
||
117 | */ |
||
118 | 15 | public static function find() |
|
122 | } |
||
123 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..