Skip to content

Commit

Permalink
add compatibility form data type
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Vaughn committed Apr 27, 2019
1 parent 5a27011 commit e1b6263
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
28 changes: 28 additions & 0 deletions src/Content/FormDataContent.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php declare(strict_types=1);
/**
* MindTouch HTTP
* Copyright (C) 2006-2018 MindTouch, Inc.
* www.mindtouch.com [email protected]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace MindTouch\Http\Content;

/**
* Class FormDataContent
*
* @deprecated use MindTouch\Http\Content\MultiPartFormDataContent
* @package MindTouch\Http\Content
*/
class FormDataContent extends MultiPartFormDataContent implements IContent {
}
2 changes: 1 addition & 1 deletion src/Content/MultiPartFormDataContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use CURLFile;

/**
* Class FormDataContent
* Class MultiPartFormDataContent
*
* @package MindTouch\Http\Content
*/
Expand Down
3 changes: 1 addition & 2 deletions src/Content/UrlEncodedFormDataContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
* limitations under the License.
*/
namespace MindTouch\Http\Content;
use CURLFile;

/**
* Class FormDataContent
* Class UrlEncodedFormDataContent
*
* @package MindTouch\Http\Content
*/
Expand Down

0 comments on commit e1b6263

Please sign in to comment.