File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 22Changelog
33---------
44
5+ master
6+ ~~~~~
7+
8+ a) [TASK][BREAKING] Rename getCurrentInstance to getLocalInstance
9+
10+
5112.0.0
612~~~~~
713
Original file line number Diff line number Diff line change 44
55class Instance
66{
7- public function getCurrentInstance ()
7+ public function getLocalInstance ()
88 {
99 if (getenv ('INSTANCE ' ) === false ) {
1010 $ configFile = getcwd () . '/.env ' ;
@@ -15,9 +15,9 @@ public function getCurrentInstance()
1515 }
1616 if (getenv ('INSTANCE ' ) === false ) {
1717 throw new \Exception ('INSTANCE var is no set. Please
18- set one of them with the name of INSTANCE which should corenspond to server () name. ' , 1500717953824 );
18+ set one of them with the name of INSTANCE which should corresponds to host () name. ' , 1500717953824 );
1919 }
2020 }
2121 return getenv ('INSTANCE ' );
2222 }
23- }
23+ }
You can’t perform that action at this time.
0 commit comments