Skip to main content
0 votes
0 answers
44 views

I have a bunch of common reusable classes stored in a "repo" folder hierarchy. Each class has its own file, each file has a namespace coherent with its place in the folder hierarchy. I ...
fpierrat's user avatar
  • 818
2 votes
2 answers
138 views

I'm looking at the code of Laravel Fortify. In the service provider, you can register Action classes to perform specific jobs like this: Fortify::createUsersUsing(CreateNewUser::class); Fortify::...
Alex's user avatar
  • 3,099
0 votes
0 answers
16 views

I have a compose.yml and Dockerfile in the same directory. compose.yml contains: services: documentation: build: context: . args: GID: 1000 GROUP: my-name ...
saven41's user avatar
  • 47
1 vote
1 answer
102 views

I need to run tests on a certain class, but adding a method that was not originally present. Previously this need could be satisfied using MockBuilder::addMethods(), but this method has been ...
Mirko Pagliai's user avatar
0 votes
1 answer
73 views

Assume that in a template.phtml, there is a property someInstance of the class SomeClass defined on $this. So in the file, one has access to: $this->someInstance yet the developer has no immediate ...
k0pernikus's user avatar
  • 67.6k
1 vote
1 answer
142 views

There is a Illuminate\Database\Schema\ColumnDefinition class in the laravel/framework package. How can I extend its PHPDoc @method annotations externally? This is a special class by Fluent, for ...
rozsazoltan's user avatar
  • 18.5k
0 votes
0 answers
78 views

This is old PHP 5 code and is probably coded wrong (it doesn't use typical autoloading), but I'm flummoxed as to how to get the editor to know which class an object in a call is using, like this: $...
Codelicus's user avatar
0 votes
0 answers
67 views

I have the following code: $id = $ui->getWidget('import_id')->value; I know the class type of $ui. The getWidget() method can return one or more types of widget classes based on the parameter ...
Colin's user avatar
  • 2,249
0 votes
1 answer
42 views

I am trying to create a link from one page in the documentation to another in a .rst file: Link to another page :doc:`Another Page` However when I run PHPDocumentor php phpDocumentor.phar -c .\phpdoc....
vogomatix's user avatar
  • 5,135
3 votes
0 answers
92 views

I've added roughly the following PHPDoc to document a class, using markdown style backticks to add an example of the classes usage /** * This is some documentation for a class * * usage: * * ``...
Patrick Benjamin's user avatar
0 votes
0 answers
74 views

My project has a number of Controllers with $data arrays that are then passed to \Illuminate\Contracts\Routing\ResponseFactory::view::getResponse. Other developers on my team will often add new keys ...
Tyler V.'s user avatar
  • 2,581
0 votes
0 answers
121 views

I'm working with PHP and I've encountered a challenge with IDE support for typed arrays. Here's a snippet of my code: <?php class User extends BaseData { public function __construct( ...
underwear's user avatar
1 vote
1 answer
257 views

I've got following code: <?php /** * @template T */ abstract class A { /** * @return T */ public function read() { // return statement } } class C {} /** * @...
M-Zoldak's user avatar
  • 158
0 votes
0 answers
43 views

I have a table that stores encrypted json values for some sensitive data. The issue is that the json properties may alter slightly based on the type of record. To overcome this, I created data ...
Jaquarh's user avatar
  • 6,749
0 votes
0 answers
661 views

I´m trying to solve errors in my proyect with larastan. One error that this library, returned it´s: Access to an undefined property App\Cargador\Prevalidaciones\PrevalidarCodificacionUTF8::$tarea ...
scorpions77's user avatar

15 30 50 per page
1
2 3 4 5
61