From 238ce05f9a24d841dcd1fff425bf54dc0858f6a7 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 7 Sep 2019 09:24:53 +0100 Subject: [PATCH] fix namespace bug (#2) --- src/GiteaData.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GiteaData.php b/src/GiteaData.php index 7c402b1..d933c31 100644 --- a/src/GiteaData.php +++ b/src/GiteaData.php @@ -7,9 +7,9 @@ class GiteaData{ protected $newData=null; public function __construct($data=null){ - $this->newData=new stdClass(); + $this->newData=new \stdClass(); if(!$data){ - $data=new stdClass(); + $data=new \stdClass(); } $this->data=$data; }