mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
chore(dev-manual): Remove opening tags from php snippets
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
e0992eade3
commit
7175695369
@ -22,7 +22,6 @@ new dependencies in your constructor or methods but pass them in. So this:
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
<?php
|
||||
use OCP\IDBConnection;
|
||||
|
||||
// without dependency injection
|
||||
@ -38,8 +37,6 @@ would turn into this by using Dependency Injection:
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
<?php
|
||||
|
||||
use OCP\IDBConnection;
|
||||
|
||||
// with dependency injection
|
||||
|
||||
Loading…
Reference in New Issue
Block a user