CS update
This commit is contained in:
+4
-4
@@ -2,15 +2,15 @@
|
||||
|
||||
class Delimiters
|
||||
{
|
||||
public $start = "It worked the first time.";
|
||||
public $start = 'It worked the first time.';
|
||||
|
||||
public function middle()
|
||||
{
|
||||
return array(
|
||||
array('item' => "And it worked the second time."),
|
||||
array('item' => "As well as the third."),
|
||||
array('item' => 'And it worked the second time.'),
|
||||
array('item' => 'As well as the third.'),
|
||||
);
|
||||
}
|
||||
|
||||
public $final = "Then, surprisingly, it worked the final time.";
|
||||
public $final = 'Then, surprisingly, it worked the final time.';
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,5 +7,5 @@ class DoubleSection
|
||||
return true;
|
||||
}
|
||||
|
||||
public $two = "second";
|
||||
public $two = 'second';
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
class SectionIteratorObjects
|
||||
{
|
||||
public $start = "It worked the first time.";
|
||||
public $start = 'It worked the first time.';
|
||||
|
||||
protected $_data = array(
|
||||
array('item' => 'And it worked the second time.'),
|
||||
@@ -14,5 +14,5 @@ class SectionIteratorObjects
|
||||
return new ArrayIterator($this->_data);
|
||||
}
|
||||
|
||||
public $final = "Then, surprisingly, it worked the final time.";
|
||||
public $final = 'Then, surprisingly, it worked the final time.';
|
||||
}
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
class SectionMagicObjects
|
||||
{
|
||||
public $start = "It worked the first time.";
|
||||
public $start = 'It worked the first time.';
|
||||
|
||||
public function middle()
|
||||
{
|
||||
return new MagicObject();
|
||||
}
|
||||
|
||||
public $final = "Then, surprisingly, it worked the final time.";
|
||||
public $final = 'Then, surprisingly, it worked the final time.';
|
||||
}
|
||||
|
||||
class MagicObject
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
class SectionObjects
|
||||
{
|
||||
public $start = "It worked the first time.";
|
||||
public $start = 'It worked the first time.';
|
||||
|
||||
public function middle()
|
||||
{
|
||||
return new SectionObject();
|
||||
}
|
||||
|
||||
public $final = "Then, surprisingly, it worked the final time.";
|
||||
public $final = 'Then, surprisingly, it worked the final time.';
|
||||
}
|
||||
|
||||
class SectionObject
|
||||
|
||||
+4
-4
@@ -2,15 +2,15 @@
|
||||
|
||||
class Sections
|
||||
{
|
||||
public $start = "It worked the first time.";
|
||||
public $start = 'It worked the first time.';
|
||||
|
||||
public function middle()
|
||||
{
|
||||
return array(
|
||||
array('item' => "And it worked the second time."),
|
||||
array('item' => "As well as the third."),
|
||||
array('item' => 'And it worked the second time.'),
|
||||
array('item' => 'As well as the third.'),
|
||||
);
|
||||
}
|
||||
|
||||
public $final = "Then, surprisingly, it worked the final time.";
|
||||
public $final = 'Then, surprisingly, it worked the final time.';
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
class Simple
|
||||
{
|
||||
public $name = "Chris";
|
||||
public $name = 'Chris';
|
||||
public $value = 10000;
|
||||
|
||||
public function taxed_value()
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
|
||||
class Unescaped
|
||||
{
|
||||
public $title = "Bear > Shark";
|
||||
public $title = 'Bear > Shark';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user