From 6d1990fd84c71d5b519c63ef604ae058cda70bb9 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 9 May 2010 15:23:06 +0000 Subject: Added missing function keyword. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6808 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/HTTP_POST_multipart.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/HTTP_POST_multipart.php') 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) { -- cgit v1.2.3