--- a/server/src/app/Libraries/Utils.php Fri Nov 13 16:45:27 2015 +0100
+++ b/server/src/app/Libraries/Utils.php Tue Nov 17 13:11:55 2015 +0100
@@ -1,5 +1,4 @@
<?php
-
namespace CorpusParole\Libraries;
/**
@@ -10,7 +9,7 @@
/*
* From http://www.thecave.info/php-get-mime-type-from-file-extension/
*/
- public static function get_mimetype($file) {
+ public static function getMimetype($file) {
// our list of mime types
$mime_types = array(
@@ -51,7 +50,7 @@
return $mime_types[$extension];
}
- public static function process_literal_or_string($val) {
+ public static function processLiteralOrString($val) {
if(is_null($val)) {
return $val;
}