Permalink
Browse files

fixed CS

  • Loading branch information...
1 parent d0a98b3 commit 389349c90d9ac4f967ed74634186ce922d68cf93 @fabpot fabpot committed Jul 9, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 CssSelector.php
  2. +1 −1 Node/CombinedSelectorNode.php
  3. +1 −1 Node/FunctionNode.php
  4. +2 −2 Node/NodeInterface.php
  5. +1 −1 Node/PseudoNode.php
  6. +1 −1 XPathExpr.php
View
@@ -42,7 +42,7 @@ class CssSelector
*
* @api
*/
- static public function toXPath($cssExpr, $prefix = 'descendant-or-self::')
+ public static function toXPath($cssExpr, $prefix = 'descendant-or-self::')
{
if (is_string($cssExpr)) {
if (!$cssExpr) {
@@ -23,7 +23,7 @@
*/
class CombinedSelectorNode implements NodeInterface
{
- static protected $methodMapping = array(
+ protected static $methodMapping = array(
' ' => 'descendant',
'>' => 'child',
'+' => 'direct_adjacent',
View
@@ -24,7 +24,7 @@
*/
class FunctionNode implements NodeInterface
{
- static protected $unsupported = array('target', 'lang', 'enabled', 'disabled');
+ protected static $unsupported = array('target', 'lang', 'enabled', 'disabled');
protected $selector;
protected $type;
View
@@ -26,12 +26,12 @@
*
* @return string The string representation
*/
- function __toString();
+ public function __toString();
/**
* @return XPathExpr The XPath expression
*
* @throws ParseException When unknown operator is found
*/
- function toXpath();
+ public function toXpath();
}
View
@@ -23,7 +23,7 @@
*/
class PseudoNode implements NodeInterface
{
- static protected $unsupported = array(
+ protected static $unsupported = array(
'indeterminate', 'first-line', 'first-letter',
'selection', 'before', 'after', 'link', 'visited',
'active', 'focus', 'hover',
View
@@ -219,7 +219,7 @@ public function join($combiner, $other)
*
* @return string
*/
- static public function xpathLiteral($s)
+ public static function xpathLiteral($s)
{
if ($s instanceof Node\ElementNode) {
// This is probably a symbol that looks like an expression...

0 comments on commit 389349c

Please sign in to comment.