From 25c6c4fe2a459ec7b358c553f3ca51b82d7a991e Mon Sep 17 00:00:00 2001 From: Jordan Dukart Date: Fri, 29 Nov 2013 13:36:22 +0000 Subject: [PATCH] Coding standards. --- includes/mime_detect.inc | 2 +- includes/object_properties.form.inc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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) {