This repository was archived by the owner on Jan 31, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ public function getImgTag()
168
168
{
169
169
$ this ->setSrcAttribForImg ();
170
170
$ html = '<img '
171
- . $ this ->htmlAttribs ($ this ->getAttribs ())
171
+ . $ this ->htmlAttribs ($ this ->getAttributes ())
172
172
. $ this ->getClosingBracket ();
173
173
174
174
return $ html ;
@@ -245,7 +245,7 @@ public function getAttribs()
245
245
__CLASS__
246
246
), E_USER_DEPRECATED );
247
247
248
- return $ this ->attribs ;
248
+ return $ this ->getAttributes () ;
249
249
}
250
250
251
251
/**
@@ -395,7 +395,7 @@ public function getSecure()
395
395
*/
396
396
protected function setSrcAttribForImg ()
397
397
{
398
- $ attribs = $ this ->getAttribs ();
398
+ $ attribs = $ this ->getAttributes ();
399
399
$ attribs ['src ' ] = $ this ->getAvatarUrl ();
400
400
$ this ->setAttributes ($ attribs );
401
401
}
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public function testGetAndSetMethods()
97
97
$ this ->assertEquals ("monsterid " , $ this ->helper ->getDefaultImg ());
98
98
$ this ->assertEquals ("pg " , $ this ->helper ->getRating ());
99
99
$ this ->
assertEquals (
"[email protected] " ,
$ this ->
helper ->
getEmail ());
100
- $ this ->assertEquals ($ attribs , $ this ->helper ->getAttribs ());
100
+ $ this ->assertEquals ($ attribs , $ this ->helper ->getAttributes ());
101
101
$ this ->assertEquals (150 , $ this ->helper ->getImgSize ());
102
102
$ this ->assertTrue ($ this ->helper ->getSecure ());
103
103
}
You can’t perform that action at this time.
0 commit comments