File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed
lib/internal/Magento/Framework Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 88/**
99 * Provides ability to statically register components.
1010 *
11- * @author Josh Di Fabio <joshdifabio@gmail.com>
12- *
1311 * @api
1412 */
1513class ComponentRegistrar implements ComponentRegistrarInterface
Original file line number Diff line number Diff line change 55 */
66namespace Magento \Framework \Component ;
77
8- /**
9- * @author Josh Di Fabio <joshdifabio@gmail.com>
10- */
118interface ComponentRegistrarInterface
129{
1310 /**
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public function load(array $exclude = [])
8080 $ result = [];
8181 $ excludeSet = array_flip ($ exclude );
8282
83- foreach ($ this ->getModuleConfigs () as list ( $ file , $ contents) ) {
83+ foreach ($ this ->getModuleConfigs () as [ $ file , $ contents] ) {
8484 try {
8585 $ this ->parser ->loadXML ($ contents );
8686 } catch (\Magento \Framework \Exception \LocalizedException $ e ) {
@@ -111,8 +111,7 @@ public function load(array $exclude = [])
111111 * </code>
112112 *
113113 * @return \Traversable
114- *
115- * @author Josh Di Fabio <joshdifabio@gmail.com>
114+ * @throws \Magento\Framework\Exception\FileSystemException
116115 */
117116 private function getModuleConfigs ()
118117 {
You can’t perform that action at this time.
0 commit comments