PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.01
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.01
2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 1.1.0 All 77 releases
← All changes | Modules/Auth/Classes/InvitationHandler.php +2 -0 2.6.012.10.01 View file →
@@ -38,8 +38,9 @@
38 38 }
39 39
40 40 if ($invitation->post_id) {
41 41 $space = BaseSpace::withoutGlobalScopes()->find($invitation->post_id);
42 + /** @var BaseSpace|null $space */
42 43 if ($space) {
43 44 $role = 'member';
44 45 if ($space->type == 'course') {
45 46 $role = 'student';
@@ -131,8 +132,9 @@
131 132
132 133 $space = null;
133 134 if ($invitation->post_id) {
134 135 $space = BaseSpace::withoutGlobalScopes()->find($invitation->post_id);
136 + /** @var BaseSpace|null $space */
135 137 if ($space) {
136 138 $role = 'member';
137 139 if ($space->type == 'course') {
138 140 $role = 'student';