diff --git a/includes/mime_detect.inc b/includes/mime_detect.inc index c275f150..e76975d6 100644 --- a/includes/mime_detect.inc +++ b/includes/mime_detect.inc @@ -393,7 +393,7 @@ class MimeDetect { * An array of valid extensions for this MIME type. */ public function getValidExtensions($mimetype) { - $filter = function($mime) use ($mimetype) { + $filter = function ($mime) use ($mimetype) { return $mime == $mimetype; }; return array_keys(array_filter($this->protectedMimeTypes, $filter)); diff --git a/includes/object_properties.form.inc b/includes/object_properties.form.inc index 5295f067..676f0d0c 100644 --- a/includes/object_properties.form.inc +++ b/includes/object_properties.form.inc @@ -166,15 +166,15 @@ function islandora_object_properties_form_delete(array $form, array &$form_state /** * Updates object state. * - * @param String $pid + * @param string $pid * PID of object to be updated - * @param Boolean $update_states + * @param bool $update_states * If TRUE, update object state - * @param String $state + * @param string $state * Desired object state - * @param Boolean $update_owners + * @param bool $update_owners * If TRUE, update Owner - * @param String $owner + * @param string $owner * New Owner */ function islandora_update_object_properties($pid, $update_states, $state, $update_owners, $owner) {