From 6892779d0b3ef0a678ad46783d6523a952c4a9b4 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 13 Oct 2013 06:22:19 +0700 Subject: [PATCH] fix typo : StdClass should be stdClass with little "s" --- .../Component/EventDispatcher/Tests/GenericEventTest.php | 2 +- .../Tests/Session/Storage/NativeSessionStorageTest.php | 2 +- src/Symfony/Component/Serializer/Encoder/JsonDecode.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php b/src/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php index 8dd6f5b419..c1e22f4451 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/GenericEventTest.php @@ -33,7 +33,7 @@ class GenericEventTest extends \PHPUnit_Framework_TestCase { parent::setUp(); - $this->subject = new \StdClass(); + $this->subject = new \stdClass(); $this->event = new GenericEvent($this->subject, array('name' => 'Event'), 'foo'); } diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php index 14ae52f97b..31dd41ab00 100644 --- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php +++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php @@ -154,7 +154,7 @@ class NativeSessionStorageTest extends \PHPUnit_Framework_TestCase public function testSetSaveHandlerException() { $storage = $this->getStorage(); - $storage->setSaveHandler(new \StdClass); + $storage->setSaveHandler(new \stdClass); } public function testSetSaveHandler53() diff --git a/src/Symfony/Component/Serializer/Encoder/JsonDecode.php b/src/Symfony/Component/Serializer/Encoder/JsonDecode.php index d616286aef..f8dfab35a8 100644 --- a/src/Symfony/Component/Serializer/Encoder/JsonDecode.php +++ b/src/Symfony/Component/Serializer/Encoder/JsonDecode.php @@ -70,7 +70,7 @@ class JsonDecode implements DecoderInterface * * json_decode_associative: boolean * If true, returns the object as associative array. - * If false, returns the object as nested StdClass + * If false, returns the object as nested stdClass * If not specified, this method will use the default set in JsonDecode::__construct * * json_decode_recursion_depth: integer