Skip to content

Commit

Permalink
Fix code-blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Oct 5, 2016
1 parent a183e24 commit 781f125
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions source/codingstandards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,31 +89,33 @@ If parameters add block doc for these parameters.
.. code-block:: php
/**
* decribe utility of the function
*
* @param $a type(integer, array...) utility of the param
* @param $b type(integer, array...) utility of the param
*
* $return of the funtion (boolean, array...)
*
**/
function userName($a, $b) {
<?php
/**
* decribe utility of the function
*
* @param $a type(integer, array...) utility of the param
* @param $b type(integer, array...) utility of the param
*
* $return of the funtion (boolean, array...)
*
**/
function userName($a, $b) {
If function from parent add
.. code-block:: php
/**
*@see CommonGLPI::getMenuContent()
**/
function getMenuContent()
<?php
/**
* @see CommonGLPI::getMenuContent()
**/
function getMenuContent()
If it's a new function, add in block doc
If it's a new function, add in block doc:
.. code-block:: php
@since version 9.1
@since version 9.1
Call static methods
^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 781f125

Please sign in to comment.