Skip to content

Commit 22419ac

Browse files
author
Chris Cho
committed
PRR fixes
1 parent 945882b commit 22419ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/includes/eloquent-models/relationships/RelationshipController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use App\Models\Planet;
99
use Illuminate\Http\Request;
1010

11-
class RelationshipController extends Controller
11+
class RelationshipController
1212
{
1313
private function oneToOne()
1414
{
@@ -112,7 +112,7 @@ private function manyToManyDynamic()
112112
$planet = Planet::first();
113113
$explorers = $planet->visitors;
114114

115-
$spaceExplorer = SpaceExplorer:first();
115+
$spaceExplorer = SpaceExplorer::first();
116116
$explored = $spaceExplorer->planetsVisited;
117117
// end many-to-many dynamic property example
118118
}

0 commit comments

Comments
 (0)