Skip to content

Commit 5c23618

Browse files
committed
Added clarification and removing wrong return type declaration
1 parent f3d3bce commit 5c23618

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,12 @@ public function getParams()
223223
/**
224224
* Factory method for creating application instances
225225
*
226+
* In case of failure,
227+
* the application will be terminated by "exit(1)"
228+
*
226229
* @param string $type
227230
* @param array $arguments
228231
* @return \Magento\Framework\AppInterface | void
229-
* @throws \InvalidArgumentException
230232
*/
231233
public function createApplication($type, $arguments = [])
232234
{

0 commit comments

Comments
 (0)