Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed CS

  • Loading branch information...
commit 389349c90d9ac4f967ed74634186ce922d68cf93 1 parent d0a98b3
@fabpot fabpot authored
View
2  CssSelector.php
@@ -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) {
View
2  Node/CombinedSelectorNode.php
@@ -23,7 +23,7 @@
*/
class CombinedSelectorNode implements NodeInterface
{
- static protected $methodMapping = array(
+ protected static $methodMapping = array(
' ' => 'descendant',
'>' => 'child',
'+' => 'direct_adjacent',
View
2  Node/FunctionNode.php
@@ -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
4 Node/NodeInterface.php
@@ -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
2  Node/PseudoNode.php
@@ -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
2  XPathExpr.php
@@ -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...
Please sign in to comment.
Something went wrong with that request. Please try again.