Browse Source

Coding standards.

pull/433/head
Jordan Dukart 11 years ago
parent
commit
25c6c4fe2a
  1. 2
      includes/mime_detect.inc
  2. 10
      includes/object_properties.form.inc

2
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));

10
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) {

Loading…
Cancel
Save