File tree 2 files changed +7
-7
lines changed
src/generator/project/objects
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
4
4
use TheSeer \fDOM \fDOMElement ;
5
5
6
- class MemberObject {
6
+ class bMemberObject {
7
7
8
8
/**
9
9
* @var fDOMElement
@@ -19,15 +19,15 @@ public function asDom() {
19
19
}
20
20
21
21
public function isPublic () {
22
- return $ this ->node ->getAttribute ('visibility ' , 'public ' ) == 'public ' ;
22
+ return $ this ->node ->getAttribute ('visibility ' , 'public ' ) === 'public ' ;
23
23
}
24
24
25
25
public function isPrivate () {
26
- return $ this ->node ->getAttribute ('visibility ' , 'public ' ) == 'private ' ;
26
+ return $ this ->node ->getAttribute ('visibility ' , 'private ' ) = == 'private ' ;
27
27
}
28
28
29
29
public function isProtected () {
30
- return $ this ->node ->getAttribute ('visibility ' , 'public ' ) == 'protected ' ;
30
+ return $ this ->node ->getAttribute ('visibility ' , 'protected ' ) = == 'protected ' ;
31
31
}
32
32
33
33
}
Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ public function getName() {
23
23
}
24
24
25
25
public function isPublic () {
26
- return $ this ->node ->getAttribute ('visibility ' , 'public ' ) == 'public ' ;
26
+ return $ this ->node ->getAttribute ('visibility ' , 'public ' ) === 'public ' ;
27
27
}
28
28
29
29
public function isPrivate () {
30
- return $ this ->node ->getAttribute ('visibility ' , 'public ' ) == 'private ' ;
30
+ return $ this ->node ->getAttribute ('visibility ' , 'private ' ) = == 'private ' ;
31
31
}
32
32
33
33
public function isProtected () {
34
- return $ this ->node ->getAttribute ('visibility ' , 'public ' ) == 'protected ' ;
34
+ return $ this ->node ->getAttribute ('visibility ' , 'protected ' ) = == 'protected ' ;
35
35
}
36
36
37
37
}
You can’t perform that action at this time.
0 commit comments