diff options
author | uckelman <uckelman@nomic.net> | 2010-05-09 15:23:06 +0000 |
---|---|---|
committer | uckelman <uckelman@nomic.net> | 2010-05-09 15:23:06 +0000 |
commit | 6d1990fd84c71d5b519c63ef604ae058cda70bb9 (patch) | |
tree | be3700819334a13794f6081ab4a78fc6ae6855e9 /src/HTTP_POST_multipart.php | |
parent | 7ca349f02b85dcb4a5569d21a31c90b34e52ab93 (diff) |
Added missing function keyword.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6808 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/HTTP_POST_multipart.php')
-rw-r--r-- | src/HTTP_POST_multipart.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HTTP_POST_multipart.php b/src/HTTP_POST_multipart.php index a4ce2a4..9046e07 100644 --- a/src/HTTP_POST_multipart.php +++ b/src/HTTP_POST_multipart.php @@ -33,12 +33,12 @@ class HTTP_POST_multipart { ); } - protected static buildDataPart($part) { + protected static function buildDataPart($part) { return 'Content-Disposition: form-data; name="' . $part['name'] . '"' . EOL . EOL . $part['data'] . EOL; } - protected static buildFilePart($part) { + protected static function buildFilePart($part) { # build Content-Disposition $p = 'Content-Disposition: form-data; name="' . $part['name'] . '"; ' . 'filename="' . $part['filename'] . '"' . EOL; @@ -77,7 +77,7 @@ class HTTP_POST_multipart { return $p; } - protected static buildBoundary($postParts) { + protected static function buildBoundary($postParts) { # This isn't guaranteed to terminate, but it's unlikely # to need more than one iteration on any real input. while (1) { @@ -98,7 +98,7 @@ class HTTP_POST_multipart { } } - protected static buildPost($parts) { + protected static function buildPost($parts) { $postParts[] = array(); foreach ($parts as $part) { |