@@ -14,6 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | public function courses() |
| 16 | 16 | { |
| 17 | - return $this->hasManyThrough('Course','Holescore'); |
|
| 17 | + return $this->hasManyThrough('Course', 'Holescore'); |
|
| 18 | 18 | } |
| 19 | 19 | } |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | |
| 11 | 11 | public function holescores() |
| 12 | 12 | { |
| 13 | - return $this->hasManyThrough('Holescore','Round'); |
|
| 13 | + return $this->hasManyThrough('Holescore', 'Round'); |
|
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | public function skins() |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function show($id) |
| 31 | 31 | { |
| 32 | - $results = $this->leagueStatistics->totalOthers($id); |
|
| 32 | + $results = $this->leagueStatistics->totalOthers($id); |
|
| 33 | 33 | $data['data'] = $results; |
| 34 | 34 | return $data; |
| 35 | 35 | } |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | */ |
| 48 | 48 | public function show($id) |
| 49 | 49 | { |
| 50 | - $results = $this->roundRepo->findByPlayer($id); |
|
| 50 | + $results = $this->roundRepo->findByPlayer($id); |
|
| 51 | 51 | $data['data'] = $results; |
| 52 | 52 | return $data; |
| 53 | 53 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function show($id) |
| 31 | 31 | { |
| 32 | - $results = $this->leagueStatistics->totalPars($id); |
|
| 32 | + $results = $this->leagueStatistics->totalPars($id); |
|
| 33 | 33 | $data['data'] = $results; |
| 34 | 34 | return $data; |
| 35 | 35 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function show($id) |
| 31 | 31 | { |
| 32 | - $results = $this->leagueStatistics->totalBirdies($id); |
|
| 32 | + $results = $this->leagueStatistics->totalBirdies($id); |
|
| 33 | 33 | $data['data'] = $results; |
| 34 | 34 | return $data; |
| 35 | 35 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function show($id) |
| 31 | 31 | { |
| 32 | - $results = $this->leagueStatistics->topFiveLowestScoresByYear($id); |
|
| 32 | + $results = $this->leagueStatistics->topFiveLowestScoresByYear($id); |
|
| 33 | 33 | $data['data'] = $results; |
| 34 | 34 | return $data; |
| 35 | 35 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function show($id) |
| 31 | 31 | { |
| 32 | - $results = $this->leagueStatistics->topFiveNetScoresByYear($id); |
|
| 32 | + $results = $this->leagueStatistics->topFiveNetScoresByYear($id); |
|
| 33 | 33 | $data['data'] = $results; |
| 34 | 34 | return $data; |
| 35 | 35 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public function show($id) |
| 31 | 31 | { |
| 32 | - $results = $this->leagueStatistics->totalDoubles($id); |
|
| 32 | + $results = $this->leagueStatistics->totalDoubles($id); |
|
| 33 | 33 | $data['data'] = $results; |
| 34 | 34 | return $data; |
| 35 | 35 | } |