added namespace to avoid class collision
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php namespace Unirest;
|
||||||
class HttpMethod
|
class HttpMethod
|
||||||
{
|
{
|
||||||
const DELETE = "DELETE";
|
const DELETE = "DELETE";
|
||||||
@@ -6,4 +6,4 @@ class HttpMethod
|
|||||||
const POST = "POST";
|
const POST = "POST";
|
||||||
const PUT = "PUT";
|
const PUT = "PUT";
|
||||||
const PATCH = "PATCH";
|
const PATCH = "PATCH";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php namespace Unirest;
|
||||||
class HttpResponse
|
class HttpResponse
|
||||||
{
|
{
|
||||||
private $code;
|
private $code;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php namespace Unirest;
|
||||||
class Unirest
|
class Unirest
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user