File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function filter($route)
6868 *
6969 * @return int
7070 */
71- private function getUserId ()
71+ protected function getUserId ()
7272 {
7373 return $ this ->auth ->user ()->id ;
7474 }
@@ -78,7 +78,7 @@ private function getUserId()
7878 * @param \Illuminate\Routing\Route $route
7979 * @return string
8080 */
81- private function getSlug ($ route )
81+ protected function getSlug ($ route )
8282 {
8383 return $ route ->getParameter ('trick_slug ' );
8484 }
@@ -90,7 +90,7 @@ private function getSlug($route)
9090 * @param int $userId
9191 * @return bool
9292 */
93- private function isTrickOwnedByUser ($ slug , $ userId )
93+ protected function isTrickOwnedByUser ($ slug , $ userId )
9494 {
9595 return $ this ->tricks ->isTrickOwnedByUser ($ slug , $ userId );
9696 }
You can’t perform that action at this time.
0 commit comments