server/src/app/Libraries/Utils.php
changeset 18 f2a40bbc27f6
parent 4 f55970e41793
child 19 eadaf0b8f02e
--- 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;
         }