artlantis / phamlp

Automatically exported from code.google.com/p/phamlp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notice: Undefined variable: this in phamlp/contrib/phamlp/sass/tree/SassPropertyNode.php on line 189

GoogleCodeExporter opened this issue · comments

is:

throw new SassPropertyNodeException('Properties can not be assigned at root 
level', array(), $this);

should use self instead of this

throw new SassPropertyNodeException('Properties can not be assigned at root 
level', array(), self);

should be a no brainer

Original issue reported on code.google.com by kay.stro...@gmail.com on 11 Aug 2011 at 12:48

self is also not correct, as it is assumed self is a constant ... 
http://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php

Original comment by kay.stro...@gmail.com on 11 Aug 2011 at 12:50