Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
215e8e50
Commit
215e8e50
authored
Mar 05, 2024
by
alissonalbuquerque
Browse files
update
parent
e9a6c59e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Models/User.php
View file @
215e8e50
...
...
@@ -209,11 +209,11 @@ class User extends Authenticatable
*/
public
function
isTypeTeacher
()
{
dd
([
'professor'
,
'profile'
=>
$this
->
profileSelected
()
->
type
===
UserType
::
TEACHER
]);
//
dd([
//
'professor',
//
'profile' => $this->profileSelected()->type === UserType::TEACHER
//
]);
return
true
;
return
$this
->
profileSelected
()
->
type
===
UserType
::
TEACHER
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment