Skip to content

Commit c7ac6a0

Browse files
committed
Code style fixes
1 parent d2dd7b3 commit c7ac6a0

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

lib/internal/Magento/Framework/App/ResourceConnection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
/**
1313
* Application provides ability to configure multiple connections to persistent storage.
14+
*
1415
* This class provides access to all these connections.
1516
*
1617
* @api

lib/internal/Magento/Framework/File/Mime.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public function getMimeType($file)
109109

110110
/**
111111
* Get mime type by the native mime_content_type function.
112+
*
112113
* Search for extended mime type if mime_content_type() returned 'application/octet-stream' or 'text/plain'
113114
*
114115
* @param string $file

lib/internal/Magento/Framework/Logger/Handler/Base.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ public function __construct(
5555
}
5656

5757
/**
58-
* @param string $fileName
58+
* Remove dots from file name
5959
*
60+
* @param string $fileName
6061
* @return string
6162
* @throws \InvalidArgumentException
6263
*/

lib/internal/Magento/Framework/Model/AbstractModel.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,8 @@ public function isSaveAllowed()
628628
}
629629

630630
/**
631+
* Set flag property _hasDataChanges
632+
*
631633
* @param bool $flag
632634
* @return void
633635
*/
@@ -723,6 +725,7 @@ public function validateBeforeSave()
723725

724726
/**
725727
* Returns validator, which contains all rules to validate this model.
728+
*
726729
* Returns FALSE, if no validation rules exist.
727730
*
728731
* @return \Zend_Validate_Interface|false
@@ -737,6 +740,7 @@ protected function _getValidatorBeforeSave()
737740

738741
/**
739742
* Creates validator for the model with all validation rules in it.
743+
*
740744
* Returns FALSE, if no validation rules exist.
741745
*
742746
* @return \Zend_Validate_Interface|bool
@@ -774,6 +778,7 @@ protected function _getValidationRulesBeforeSave()
774778

775779
/**
776780
* Get list of cache tags applied to model object.
781+
*
777782
* Return false if cache tags are not supported by model
778783
*
779784
* @return array|false

0 commit comments

Comments
 (0)