Comments (5)
Same goes for array accesses on $app
:
Cannot access offset 'docs.navigation' on Illuminate\Contracts\Foundation\Application.
The code:
$this->app['docs.navigation']
from larastan.
@brendt Thanks again for reporting this false positive.
This issue got fixed on the version v0.1.6
. Do you mind of performing a composer update nunomaduro/larastan
and test it again?
from larastan.
Hi Nuno, this issue still seems to be there in 0.2.0:
68 Cannot access offset 'docs.navigation' on Illuminate\Contracts\Foundation\Application.
from larastan.
@brendt Hummmmmmm.
Do you mind of performing a composer update nunomaduro/larastan
and double check it?
If the problem is still there: When docs.navigation
is registered on the container? Seems to me that service is bound into the container outside to bootstrap life-cycle
of laravel.
from larastan.
It's gone now, I'm on 0.2.3. FYI, the parameter was read from $this->app
in the boot
method of a service provider. Seems to work, so great!
from larastan.
Related Issues (20)
- Call to function is_array() with string will always evaluate to false. HOT 6
- Cannot call method assertSuccessful() on Illuminate\Testing\PendingCommand|int. HOT 2
- Incorrect type for foreignIdFor when primary key is uuid HOT 2
- Generic return type from query builder HOT 6
- Internal error on using scope defined/required by an interface HOT 2
- Undefined constant LARAVEL_VERSION when loading PHPStan/Larastan in Rector HOT 12
- Access to an undefined property App\Models\Interfaces\IsSubmittable::$submission. HOT 1
- Laravel default installation throwing erros at VerifyEmailController HOT 1
- Default Models HOT 1
- {relation}_count attribute may return null HOT 2
- Query builder macros not detected HOT 6
- Method Builder::whereX() should return static(Builder<Model>) but returns Builder<Model> HOT 3
- Access to an undefined property with loadExists HOT 3
- Calling get on Model::newQuery returns generic Model type HOT 5
- Method newEloquentBuilder() was not found in reflection HOT 8
- Undefined property on models when using interface HOT 2
- How to resolving Auth Facade type correctry HOT 2
- Call to an undefined method HOT 3
- Detect usage of `env()` function outside from config folder HOT 2
- We should follow `laravel/framework` descision that using `@template-covariant` in collections HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from larastan.