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()
168168 {
169169 $ this ->setSrcAttribForImg ();
170170 $ html = '<img '
171- . $ this ->htmlAttribs ($ this ->getAttribs ())
171+ . $ this ->htmlAttribs ($ this ->getAttributes ())
172172 . $ this ->getClosingBracket ();
173173
174174 return $ html ;
@@ -245,7 +245,7 @@ public function getAttribs()
245245 __CLASS__
246246 ), E_USER_DEPRECATED );
247247
248- return $ this ->attribs ;
248+ return $ this ->getAttributes () ;
249249 }
250250
251251 /**
@@ -395,7 +395,7 @@ public function getSecure()
395395 */
396396 protected function setSrcAttribForImg ()
397397 {
398- $ attribs = $ this ->getAttribs ();
398+ $ attribs = $ this ->getAttributes ();
399399 $ attribs ['src ' ] = $ this ->getAvatarUrl ();
400400 $ this ->setAttributes ($ attribs );
401401 }
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public function testGetAndSetMethods()
9797 $ this ->assertEquals ("monsterid " , $ this ->helper ->getDefaultImg ());
9898 $ this ->assertEquals ("pg " , $ this ->helper ->getRating ());
9999 $ this ->
assertEquals (
"[email protected] " ,
$ this ->
helper ->
getEmail ());
100- $ this ->assertEquals ($ attribs , $ this ->helper ->getAttribs ());
100+ $ this ->assertEquals ($ attribs , $ this ->helper ->getAttributes ());
101101 $ this ->assertEquals (150 , $ this ->helper ->getImgSize ());
102102 $ this ->assertTrue ($ this ->helper ->getSecure ());
103103 }
You can’t perform that action at this time.
0 commit comments